@atlaskit/editor-plugin-floating-toolbar 9.0.0 → 9.1.0

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,16 @@
1
1
  # @atlaskit/editor-plugin-floating-toolbar
2
2
 
3
+ ## 9.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`00e69e0b7c839`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/00e69e0b7c839) -
8
+ Clean up and removal of the `platform-visual-refresh-icons` feature flag.
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
3
14
  ## 9.0.0
4
15
 
5
16
  ### Patch Changes
@@ -15,7 +15,6 @@ var _ui = require("@atlaskit/editor-common/ui");
15
15
  var _uiReact = require("@atlaskit/editor-common/ui-react");
16
16
  var _emoji = require("@atlaskit/emoji");
17
17
  var _emojiAdd = _interopRequireDefault(require("@atlaskit/icon/core/emoji-add"));
18
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
19
18
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
20
19
  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); }
21
20
  /**
@@ -25,30 +24,6 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
25
24
 
26
25
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
27
26
 
28
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
29
- var emojiPickerButtonWrapper = (0, _react2.css)({
30
- position: 'relative',
31
- // helps adjusts position of popup
32
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
33
- button: {
34
- top: '-1px',
35
- // adjust position of emoji icon when using the IconButtom component
36
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
37
- '&:not([disabled])::after': {
38
- border: 'none' // remove blue border when picker has been selected
39
- }
40
- },
41
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
42
- svg: {
43
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
44
- path: {
45
- // adjust size of emoji icon when using the IconButtom component, otherwise it's too small
46
- transformOrigin: '50% 50%',
47
- transform: 'scale(1.14)'
48
- }
49
- }
50
- });
51
-
52
27
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
53
28
  var emojiPickerButtonWrapperVisualRefresh = (0, _react2.css)({
54
29
  position: 'relative',
@@ -155,7 +130,7 @@ var EmojiPickerButton = exports.EmojiPickerButton = function EmojiPickerButton(p
155
130
  };
156
131
  var title = props.title || '';
157
132
  return (0, _react2.jsx)("div", {
158
- css: (0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') ? emojiPickerButtonWrapperVisualRefresh : emojiPickerButtonWrapper
133
+ css: emojiPickerButtonWrapperVisualRefresh
159
134
  }, (0, _react2.jsx)(_tooltip.default, {
160
135
  content: title,
161
136
  position: "top"
@@ -12,32 +12,7 @@ import { Popup } from '@atlaskit/editor-common/ui';
12
12
  import { OutsideClickTargetRefContext, withReactEditorViewOuterListeners } from '@atlaskit/editor-common/ui-react';
13
13
  import { EmojiPicker } from '@atlaskit/emoji';
14
14
  import EmojiAddIcon from '@atlaskit/icon/core/emoji-add';
15
- import { fg } from '@atlaskit/platform-feature-flags';
16
15
  import Tooltip from '@atlaskit/tooltip';
17
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
18
- const emojiPickerButtonWrapper = css({
19
- position: 'relative',
20
- // helps adjusts position of popup
21
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
22
- button: {
23
- top: '-1px',
24
- // adjust position of emoji icon when using the IconButtom component
25
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
26
- '&:not([disabled])::after': {
27
- border: 'none' // remove blue border when picker has been selected
28
- }
29
- },
30
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
31
- svg: {
32
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
33
- path: {
34
- // adjust size of emoji icon when using the IconButtom component, otherwise it's too small
35
- transformOrigin: '50% 50%',
36
- transform: 'scale(1.14)'
37
- }
38
- }
39
- });
40
-
41
16
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
42
17
  const emojiPickerButtonWrapperVisualRefresh = css({
43
18
  position: 'relative',
@@ -139,7 +114,7 @@ export const EmojiPickerButton = props => {
139
114
  };
140
115
  const title = props.title || '';
141
116
  return jsx("div", {
142
- css: fg('platform-visual-refresh-icons') ? emojiPickerButtonWrapperVisualRefresh : emojiPickerButtonWrapper
117
+ css: emojiPickerButtonWrapperVisualRefresh
143
118
  }, jsx(Tooltip, {
144
119
  content: title,
145
120
  position: "top"
@@ -13,32 +13,7 @@ import { Popup } from '@atlaskit/editor-common/ui';
13
13
  import { OutsideClickTargetRefContext, withReactEditorViewOuterListeners } from '@atlaskit/editor-common/ui-react';
14
14
  import { EmojiPicker } from '@atlaskit/emoji';
15
15
  import EmojiAddIcon from '@atlaskit/icon/core/emoji-add';
16
- import { fg } from '@atlaskit/platform-feature-flags';
17
16
  import Tooltip from '@atlaskit/tooltip';
18
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
19
- var emojiPickerButtonWrapper = css({
20
- position: 'relative',
21
- // helps adjusts position of popup
22
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
23
- button: {
24
- top: '-1px',
25
- // adjust position of emoji icon when using the IconButtom component
26
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
27
- '&:not([disabled])::after': {
28
- border: 'none' // remove blue border when picker has been selected
29
- }
30
- },
31
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
32
- svg: {
33
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
34
- path: {
35
- // adjust size of emoji icon when using the IconButtom component, otherwise it's too small
36
- transformOrigin: '50% 50%',
37
- transform: 'scale(1.14)'
38
- }
39
- }
40
- });
41
-
42
17
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
43
18
  var emojiPickerButtonWrapperVisualRefresh = css({
44
19
  position: 'relative',
@@ -145,7 +120,7 @@ export var EmojiPickerButton = function EmojiPickerButton(props) {
145
120
  };
146
121
  var title = props.title || '';
147
122
  return jsx("div", {
148
- css: fg('platform-visual-refresh-icons') ? emojiPickerButtonWrapperVisualRefresh : emojiPickerButtonWrapper
123
+ css: emojiPickerButtonWrapperVisualRefresh
149
124
  }, jsx(Tooltip, {
150
125
  content: title,
151
126
  position: "top"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-floating-toolbar",
3
- "version": "9.0.0",
3
+ "version": "9.1.0",
4
4
  "description": "Floating toolbar plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -23,7 +23,7 @@
23
23
  "dependencies": {
24
24
  "@atlaskit/adf-utils": "^19.26.0",
25
25
  "@atlaskit/button": "^23.9.0",
26
- "@atlaskit/checkbox": "^17.2.0",
26
+ "@atlaskit/checkbox": "^17.3.0",
27
27
  "@atlaskit/editor-palette": "^2.1.0",
28
28
  "@atlaskit/editor-plugin-analytics": "^7.0.0",
29
29
  "@atlaskit/editor-plugin-context-panel": "^9.0.0",
@@ -56,7 +56,7 @@
56
56
  "react-loadable": "^5.1.0"
57
57
  },
58
58
  "peerDependencies": {
59
- "@atlaskit/editor-common": "^111.0.0",
59
+ "@atlaskit/editor-common": "^111.1.0",
60
60
  "react": "^18.2.0",
61
61
  "react-dom": "^18.2.0"
62
62
  },