@atlaskit/editor-plugin-selection-toolbar 9.0.10 → 9.0.12

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-selection-toolbar
2
2
 
3
+ ## 9.0.12
4
+
5
+ ### Patch Changes
6
+
7
+ - [`0f4a08b633f6e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0f4a08b633f6e) -
8
+ Internal changes to remove unnecessary token fallbacks and imports from `@atlaskit/theme`
9
+ - Updated dependencies
10
+
11
+ ## 9.0.11
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 9.0.10
4
18
 
5
19
  ### Patch Changes
@@ -42,7 +42,9 @@ var PrimaryToolbarComponent = exports.PrimaryToolbarComponent = function Primary
42
42
  iconBefore: /*#__PURE__*/React.createElement(_pinFilled.default, {
43
43
  label: "",
44
44
  spacing: "spacious"
45
- }),
45
+ })
46
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
47
+ ,
46
48
  onClick: function onClick() {
47
49
  var _api$core$actions$exe, _api$userPreferences2;
48
50
  return (_api$core$actions$exe = api === null || api === void 0 ? void 0 : api.core.actions.execute(api === null || api === void 0 || (_api$userPreferences2 = api.userPreferences) === null || _api$userPreferences2 === void 0 ? void 0 : _api$userPreferences2.actions.updateUserPreference('toolbarDockingPosition', 'none'))) !== null && _api$core$actions$exe !== void 0 ? _api$core$actions$exe : false;
@@ -60,7 +62,9 @@ var PrimaryToolbarComponent = exports.PrimaryToolbarComponent = function Primary
60
62
  iconBefore: /*#__PURE__*/React.createElement(_pin.default, {
61
63
  label: "",
62
64
  spacing: "spacious"
63
- }),
65
+ })
66
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
67
+ ,
64
68
  onClick: function onClick() {
65
69
  var _api$core$actions$exe2, _api$userPreferences3;
66
70
  return (_api$core$actions$exe2 = api === null || api === void 0 ? void 0 : api.core.actions.execute(api === null || api === void 0 || (_api$userPreferences3 = api.userPreferences) === null || _api$userPreferences3 === void 0 ? void 0 : _api$userPreferences3.actions.updateUserPreference('toolbarDockingPosition', 'top'))) !== null && _api$core$actions$exe2 !== void 0 ? _api$core$actions$exe2 : false;
@@ -34,7 +34,9 @@ export const PrimaryToolbarComponent = ({
34
34
  iconBefore: /*#__PURE__*/React.createElement(PinFilledIcon, {
35
35
  label: "",
36
36
  spacing: "spacious"
37
- }),
37
+ })
38
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
39
+ ,
38
40
  onClick: () => {
39
41
  var _api$core$actions$exe, _api$userPreferences2;
40
42
  return (_api$core$actions$exe = api === null || api === void 0 ? void 0 : api.core.actions.execute(api === null || api === void 0 ? void 0 : (_api$userPreferences2 = api.userPreferences) === null || _api$userPreferences2 === void 0 ? void 0 : _api$userPreferences2.actions.updateUserPreference('toolbarDockingPosition', 'none'))) !== null && _api$core$actions$exe !== void 0 ? _api$core$actions$exe : false;
@@ -52,7 +54,9 @@ export const PrimaryToolbarComponent = ({
52
54
  iconBefore: /*#__PURE__*/React.createElement(PinIcon, {
53
55
  label: "",
54
56
  spacing: "spacious"
55
- }),
57
+ })
58
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
59
+ ,
56
60
  onClick: () => {
57
61
  var _api$core$actions$exe2, _api$userPreferences3;
58
62
  return (_api$core$actions$exe2 = api === null || api === void 0 ? void 0 : api.core.actions.execute(api === null || api === void 0 ? void 0 : (_api$userPreferences3 = api.userPreferences) === null || _api$userPreferences3 === void 0 ? void 0 : _api$userPreferences3.actions.updateUserPreference('toolbarDockingPosition', 'top'))) !== null && _api$core$actions$exe2 !== void 0 ? _api$core$actions$exe2 : false;
@@ -33,7 +33,9 @@ export var PrimaryToolbarComponent = function PrimaryToolbarComponent(_ref) {
33
33
  iconBefore: /*#__PURE__*/React.createElement(PinFilledIcon, {
34
34
  label: "",
35
35
  spacing: "spacious"
36
- }),
36
+ })
37
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
38
+ ,
37
39
  onClick: function onClick() {
38
40
  var _api$core$actions$exe, _api$userPreferences2;
39
41
  return (_api$core$actions$exe = api === null || api === void 0 ? void 0 : api.core.actions.execute(api === null || api === void 0 || (_api$userPreferences2 = api.userPreferences) === null || _api$userPreferences2 === void 0 ? void 0 : _api$userPreferences2.actions.updateUserPreference('toolbarDockingPosition', 'none'))) !== null && _api$core$actions$exe !== void 0 ? _api$core$actions$exe : false;
@@ -51,7 +53,9 @@ export var PrimaryToolbarComponent = function PrimaryToolbarComponent(_ref) {
51
53
  iconBefore: /*#__PURE__*/React.createElement(PinIcon, {
52
54
  label: "",
53
55
  spacing: "spacious"
54
- }),
56
+ })
57
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
58
+ ,
55
59
  onClick: function onClick() {
56
60
  var _api$core$actions$exe2, _api$userPreferences3;
57
61
  return (_api$core$actions$exe2 = api === null || api === void 0 ? void 0 : api.core.actions.execute(api === null || api === void 0 || (_api$userPreferences3 = api.userPreferences) === null || _api$userPreferences3 === void 0 ? void 0 : _api$userPreferences3.actions.updateUserPreference('toolbarDockingPosition', 'top'))) !== null && _api$core$actions$exe2 !== void 0 ? _api$core$actions$exe2 : false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-selection-toolbar",
3
- "version": "9.0.10",
3
+ "version": "9.0.12",
4
4
  "description": "@atlaskit/editor-plugin-selection-toolbar for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -45,7 +45,7 @@
45
45
  "@atlaskit/icon-lab": "^6.0.0",
46
46
  "@atlaskit/menu": "^8.4.0",
47
47
  "@atlaskit/platform-feature-flags": "^1.1.0",
48
- "@atlaskit/tmp-editor-statsig": "^43.0.0",
48
+ "@atlaskit/tmp-editor-statsig": "^44.0.0",
49
49
  "@atlaskit/tokens": "^11.1.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "bind-event-listener": "^3.0.0"