@atlaskit/editor-plugin-floating-toolbar 8.2.22 → 8.2.24

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,19 @@
1
1
  # @atlaskit/editor-plugin-floating-toolbar
2
2
 
3
+ ## 8.2.24
4
+
5
+ ### Patch Changes
6
+
7
+ - [`90abe9b926a6f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/90abe9b926a6f) -
8
+ Icon entrypoint migration
9
+ - Updated dependencies
10
+
11
+ ## 8.2.23
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 8.2.22
4
18
 
5
19
  ### Patch Changes
@@ -12,8 +12,8 @@ var _bindEventListener = require("bind-event-listener");
12
12
  var _rafSchd = _interopRequireDefault(require("raf-schd"));
13
13
  var _new = require("@atlaskit/button/new");
14
14
  var _floatingToolbar = require("@atlaskit/editor-common/floating-toolbar");
15
- var _chevronLeftChevronLeftLarge = _interopRequireDefault(require("@atlaskit/icon/core/migration/chevron-left--chevron-left-large"));
16
- var _chevronRightChevronRightLarge = _interopRequireDefault(require("@atlaskit/icon/core/migration/chevron-right--chevron-right-large"));
15
+ var _chevronLeft = _interopRequireDefault(require("@atlaskit/icon/core/chevron-left"));
16
+ var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/core/chevron-right"));
17
17
  var _primitives = require("@atlaskit/primitives");
18
18
  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); }
19
19
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
@@ -131,7 +131,7 @@ var ScrollButton = exports.ScrollButton = function ScrollButton(_ref) {
131
131
  });
132
132
  }
133
133
  }, [node.type, scrollContainerRef]);
134
- var Icon = side === 'left' ? _chevronLeftChevronLeftLarge.default : _chevronRightChevronRightLarge.default;
134
+ var Icon = side === 'left' ? _chevronLeft.default : _chevronRight.default;
135
135
  return needScroll && (side === 'left' && canScrollToSide || side === 'right' && canScrollToSide) && /*#__PURE__*/_react.default.createElement(_primitives.Box, {
136
136
  padding: "space.050",
137
137
  xcss: [side === 'left' ? leftSideStyles : rightSideStyles, buttonCommonStyles]
@@ -12,8 +12,8 @@ var _react2 = require("@emotion/react");
12
12
  var _rafSchd = _interopRequireDefault(require("raf-schd"));
13
13
  var _floatingToolbar = require("@atlaskit/editor-common/floating-toolbar");
14
14
  var _ui = require("@atlaskit/editor-common/ui");
15
- var _chevronLeftChevronLeftLarge = _interopRequireDefault(require("@atlaskit/icon/core/migration/chevron-left--chevron-left-large"));
16
- var _chevronRightChevronRightLarge = _interopRequireDefault(require("@atlaskit/icon/core/migration/chevron-right--chevron-right-large"));
15
+ var _chevronLeft = _interopRequireDefault(require("@atlaskit/icon/core/chevron-left"));
16
+ var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/core/chevron-right"));
17
17
  var _colors = require("@atlaskit/theme/colors");
18
18
  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); }
19
19
  /**
@@ -33,8 +33,8 @@ var toolbarScrollButtons = (0, _react2.css)({
33
33
  flexShrink: 0,
34
34
  alignItems: 'center'
35
35
  });
36
- var LeftIcon = _chevronLeftChevronLeftLarge.default;
37
- var RightIcon = _chevronRightChevronRightLarge.default;
36
+ var LeftIcon = _chevronLeft.default;
37
+ var RightIcon = _chevronRight.default;
38
38
  // Remove this component (replaced by ScrollButton) as part of platform_editor_controls clean up
39
39
  var ScrollButtons = exports.ScrollButtons = function ScrollButtons(_ref) {
40
40
  var intl = _ref.intl,
@@ -3,8 +3,8 @@ import { bind } from 'bind-event-listener';
3
3
  import rafSchedule from 'raf-schd';
4
4
  import { IconButton } from '@atlaskit/button/new';
5
5
  import { messages } from '@atlaskit/editor-common/floating-toolbar';
6
- import ChevronLeftLargeIcon from '@atlaskit/icon/core/migration/chevron-left--chevron-left-large';
7
- import ChevronRightLargeIcon from '@atlaskit/icon/core/migration/chevron-right--chevron-right-large';
6
+ import ChevronLeftLargeIcon from '@atlaskit/icon/core/chevron-left';
7
+ import ChevronRightLargeIcon from '@atlaskit/icon/core/chevron-right';
8
8
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
9
9
  import { Box, xcss } from '@atlaskit/primitives';
10
10
  const rightSideStyles = xcss({
@@ -9,8 +9,8 @@ import { css, jsx } from '@emotion/react';
9
9
  import rafSchedule from 'raf-schd';
10
10
  import { messages } from '@atlaskit/editor-common/floating-toolbar';
11
11
  import { FloatingToolbarButton as Button } from '@atlaskit/editor-common/ui';
12
- import ChevronLeftLargeIcon from '@atlaskit/icon/core/migration/chevron-left--chevron-left-large';
13
- import ChevronRightLargeIcon from '@atlaskit/icon/core/migration/chevron-right--chevron-right-large';
12
+ import ChevronLeftLargeIcon from '@atlaskit/icon/core/chevron-left';
13
+ import ChevronRightLargeIcon from '@atlaskit/icon/core/chevron-right';
14
14
  import { N30 } from '@atlaskit/theme/colors';
15
15
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
16
16
  const toolbarScrollButtons = css({
@@ -4,8 +4,8 @@ import { bind } from 'bind-event-listener';
4
4
  import rafSchedule from 'raf-schd';
5
5
  import { IconButton } from '@atlaskit/button/new';
6
6
  import { messages } from '@atlaskit/editor-common/floating-toolbar';
7
- import ChevronLeftLargeIcon from '@atlaskit/icon/core/migration/chevron-left--chevron-left-large';
8
- import ChevronRightLargeIcon from '@atlaskit/icon/core/migration/chevron-right--chevron-right-large';
7
+ import ChevronLeftLargeIcon from '@atlaskit/icon/core/chevron-left';
8
+ import ChevronRightLargeIcon from '@atlaskit/icon/core/chevron-right';
9
9
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
10
10
  import { Box, xcss } from '@atlaskit/primitives';
11
11
  var rightSideStyles = xcss({
@@ -10,8 +10,8 @@ import { css, jsx } from '@emotion/react';
10
10
  import rafSchedule from 'raf-schd';
11
11
  import { messages } from '@atlaskit/editor-common/floating-toolbar';
12
12
  import { FloatingToolbarButton as Button } from '@atlaskit/editor-common/ui';
13
- import ChevronLeftLargeIcon from '@atlaskit/icon/core/migration/chevron-left--chevron-left-large';
14
- import ChevronRightLargeIcon from '@atlaskit/icon/core/migration/chevron-right--chevron-right-large';
13
+ import ChevronLeftLargeIcon from '@atlaskit/icon/core/chevron-left';
14
+ import ChevronRightLargeIcon from '@atlaskit/icon/core/chevron-right';
15
15
  import { N30 } from '@atlaskit/theme/colors';
16
16
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
17
17
  var toolbarScrollButtons = css({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-floating-toolbar",
3
- "version": "8.2.22",
3
+ "version": "8.2.24",
4
4
  "description": "Floating toolbar plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -22,8 +22,8 @@
22
22
  "atlaskit:src": "src/index.ts",
23
23
  "dependencies": {
24
24
  "@atlaskit/adf-utils": "^19.26.0",
25
- "@atlaskit/button": "^23.6.0",
26
- "@atlaskit/checkbox": "^17.1.0",
25
+ "@atlaskit/button": "^23.7.0",
26
+ "@atlaskit/checkbox": "^17.2.0",
27
27
  "@atlaskit/editor-palette": "^2.1.0",
28
28
  "@atlaskit/editor-plugin-analytics": "^6.2.0",
29
29
  "@atlaskit/editor-plugin-context-panel": "^8.0.0",
@@ -35,18 +35,18 @@
35
35
  "@atlaskit/editor-plugin-extension": "^9.2.0",
36
36
  "@atlaskit/editor-plugin-interaction": "^10.0.0",
37
37
  "@atlaskit/editor-plugin-user-intent": "^4.0.0",
38
- "@atlaskit/editor-prosemirror": "7.0.0",
39
- "@atlaskit/emoji": "^69.8.0",
40
- "@atlaskit/icon": "^29.0.0",
38
+ "@atlaskit/editor-prosemirror": "^7.2.0",
39
+ "@atlaskit/emoji": "^69.9.0",
40
+ "@atlaskit/icon": "^29.1.0",
41
41
  "@atlaskit/menu": "^8.4.0",
42
- "@atlaskit/modal-dialog": "^14.7.0",
42
+ "@atlaskit/modal-dialog": "^14.9.0",
43
43
  "@atlaskit/platform-feature-flags": "^1.1.0",
44
44
  "@atlaskit/primitives": "^16.4.0",
45
- "@atlaskit/select": "^21.4.0",
45
+ "@atlaskit/select": "^21.5.0",
46
46
  "@atlaskit/theme": "^21.0.0",
47
- "@atlaskit/tmp-editor-statsig": "^14.2.0",
48
- "@atlaskit/tokens": "^8.4.0",
49
- "@atlaskit/tooltip": "^20.10.0",
47
+ "@atlaskit/tmp-editor-statsig": "^15.12.0",
48
+ "@atlaskit/tokens": "^8.5.0",
49
+ "@atlaskit/tooltip": "^20.11.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@emotion/react": "^11.7.1",
52
52
  "bind-event-listener": "^3.0.0",
@@ -56,13 +56,13 @@
56
56
  "react-loadable": "^5.1.0"
57
57
  },
58
58
  "peerDependencies": {
59
- "@atlaskit/editor-common": "^110.36.0",
59
+ "@atlaskit/editor-common": "^110.44.0",
60
60
  "react": "^18.2.0",
61
61
  "react-dom": "^18.2.0"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@testing-library/dom": "^10.1.0",
65
- "@testing-library/react": "^13.4.0",
65
+ "@testing-library/react": "^16.3.0",
66
66
  "@testing-library/user-event": "^14.4.3",
67
67
  "enzyme": "^3.10.0",
68
68
  "wait-for-expect": "^1.2.0"