@atlaskit/editor-toolbar 0.20.8 → 0.20.10

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/editor-toolbar
2
2
 
3
+ ## 0.20.10
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 0.20.9
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 0.20.8
4
16
 
5
17
  ### Patch Changes
@@ -37,7 +37,7 @@ var ToolbarUIProvider = exports.ToolbarUIProvider = function ToolbarUIProvider(_
37
37
  fireAnalyticsEvent = _ref.fireAnalyticsEvent,
38
38
  keyboardNavigation = _ref.keyboardNavigation;
39
39
  return /*#__PURE__*/_react.default.createElement(ToolbarUIContext.Provider, {
40
- // eslint-disable-next-line @atlassian/perf-linting/no-inline-context-value, @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
40
+ // eslint-disable-next-line @atlassian/perf-linting/no-inline-context-value, @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
41
41
  value: {
42
42
  onDropdownOpenChanged: onDropdownOpenChanged,
43
43
  preventDefaultOnMouseDown: preventDefaultOnMouseDown,
@@ -56,7 +56,7 @@ var ToolbarButton = exports.ToolbarButton = /*#__PURE__*/(0, _react.forwardRef)(
56
56
  testId: testId,
57
57
  id: id,
58
58
  isDisabled: disabled
59
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
59
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
60
60
  ,
61
61
  onMouseDown: function onMouseDown(event) {
62
62
  if (preventDefaultOnMouseDown) {
@@ -18,7 +18,7 @@ var ToolbarColorSwatch = exports.ToolbarColorSwatch = function ToolbarColorSwatc
18
18
  highlightColor = _ref.highlightColor;
19
19
  return /*#__PURE__*/_react.default.createElement(_compiled.Box, {
20
20
  xcss: styles.colorSwatch
21
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
21
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
22
22
  ,
23
23
  style: {
24
24
  backgroundColor: highlightColor
@@ -127,7 +127,7 @@ var ToolbarDropdownItem = exports.ToolbarDropdownItem = function ToolbarDropdown
127
127
  }));
128
128
  }();
129
129
  return /*#__PURE__*/_react.default.createElement(_dropdownMenu.DropdownItem
130
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
130
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
131
131
  , (0, _extends2.default)({
132
132
  onClick: function onClick(e) {
133
133
  if (!hasNestedDropdownMenu) {
@@ -49,7 +49,7 @@ var ToolbarDropdownMenuContent = function ToolbarDropdownMenuContent(_ref) {
49
49
  }
50
50
  }, [menuContext]);
51
51
  return /*#__PURE__*/_react.default.createElement(_dropdownMenu.default, {
52
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
52
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
53
53
  trigger: function trigger(triggerProps) {
54
54
  var toolbarButton = /*#__PURE__*/_react.default.createElement(_ToolbarButton.ToolbarButton, {
55
55
  ref: triggerProps.triggerRef,
@@ -58,7 +58,7 @@ var ToolbarDropdownMenuContent = function ToolbarDropdownMenuContent(_ref) {
58
58
  "aria-haspopup": triggerProps['aria-haspopup'],
59
59
  "aria-controls": triggerProps['aria-controls'],
60
60
  onBlur: triggerProps.onBlur
61
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
61
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
62
62
  ,
63
63
  onClick: function onClick(e) {
64
64
  _onClick && _onClick(e, !(menuContext !== null && menuContext !== void 0 && menuContext.isOpen));
@@ -30,7 +30,7 @@ export const ToolbarUIProvider = ({
30
30
  keyboardNavigation
31
31
  }) => {
32
32
  return /*#__PURE__*/React.createElement(ToolbarUIContext.Provider, {
33
- // eslint-disable-next-line @atlassian/perf-linting/no-inline-context-value, @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
33
+ // eslint-disable-next-line @atlassian/perf-linting/no-inline-context-value, @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
34
34
  value: {
35
35
  onDropdownOpenChanged,
36
36
  preventDefaultOnMouseDown,
@@ -50,7 +50,7 @@ export const ToolbarButton = /*#__PURE__*/forwardRef(({
50
50
  testId: testId,
51
51
  id: id,
52
52
  isDisabled: disabled
53
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
53
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
54
54
  ,
55
55
  onMouseDown: event => {
56
56
  if (preventDefaultOnMouseDown) {
@@ -12,7 +12,7 @@ export const ToolbarColorSwatch = ({
12
12
  }) => {
13
13
  return /*#__PURE__*/React.createElement(Box, {
14
14
  xcss: styles.colorSwatch
15
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
15
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
16
16
  ,
17
17
  style: {
18
18
  backgroundColor: highlightColor
@@ -111,7 +111,7 @@ export const ToolbarDropdownItem = ({
111
111
  });
112
112
  })();
113
113
  return /*#__PURE__*/React.createElement(DropdownItem
114
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
114
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
115
115
  , _extends({
116
116
  onClick: e => {
117
117
  if (!hasNestedDropdownMenu) {
@@ -42,7 +42,7 @@ const ToolbarDropdownMenuContent = ({
42
42
  }
43
43
  }, [menuContext]);
44
44
  return /*#__PURE__*/React.createElement(DropdownMenu, {
45
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
45
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
46
46
  trigger: triggerProps => {
47
47
  const toolbarButton = /*#__PURE__*/React.createElement(ToolbarButton, {
48
48
  ref: triggerProps.triggerRef,
@@ -51,7 +51,7 @@ const ToolbarDropdownMenuContent = ({
51
51
  "aria-haspopup": triggerProps['aria-haspopup'],
52
52
  "aria-controls": triggerProps['aria-controls'],
53
53
  onBlur: triggerProps.onBlur
54
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
54
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
55
55
  ,
56
56
  onClick: e => {
57
57
  onClick && onClick(e, !(menuContext !== null && menuContext !== void 0 && menuContext.isOpen));
@@ -29,7 +29,7 @@ export var ToolbarUIProvider = function ToolbarUIProvider(_ref) {
29
29
  fireAnalyticsEvent = _ref.fireAnalyticsEvent,
30
30
  keyboardNavigation = _ref.keyboardNavigation;
31
31
  return /*#__PURE__*/React.createElement(ToolbarUIContext.Provider, {
32
- // eslint-disable-next-line @atlassian/perf-linting/no-inline-context-value, @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
32
+ // eslint-disable-next-line @atlassian/perf-linting/no-inline-context-value, @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
33
33
  value: {
34
34
  onDropdownOpenChanged: onDropdownOpenChanged,
35
35
  preventDefaultOnMouseDown: preventDefaultOnMouseDown,
@@ -48,7 +48,7 @@ export var ToolbarButton = /*#__PURE__*/forwardRef(function (_ref, ref) {
48
48
  testId: testId,
49
49
  id: id,
50
50
  isDisabled: disabled
51
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
51
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
52
52
  ,
53
53
  onMouseDown: function onMouseDown(event) {
54
54
  if (preventDefaultOnMouseDown) {
@@ -11,7 +11,7 @@ export var ToolbarColorSwatch = function ToolbarColorSwatch(_ref) {
11
11
  highlightColor = _ref.highlightColor;
12
12
  return /*#__PURE__*/React.createElement(Box, {
13
13
  xcss: styles.colorSwatch
14
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
14
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
15
15
  ,
16
16
  style: {
17
17
  backgroundColor: highlightColor
@@ -118,7 +118,7 @@ export var ToolbarDropdownItem = function ToolbarDropdownItem(_ref3) {
118
118
  }));
119
119
  }();
120
120
  return /*#__PURE__*/React.createElement(DropdownItem
121
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
121
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
122
122
  , _extends({
123
123
  onClick: function onClick(e) {
124
124
  if (!hasNestedDropdownMenu) {
@@ -40,7 +40,7 @@ var ToolbarDropdownMenuContent = function ToolbarDropdownMenuContent(_ref) {
40
40
  }
41
41
  }, [menuContext]);
42
42
  return /*#__PURE__*/React.createElement(DropdownMenu, {
43
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
43
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
44
44
  trigger: function trigger(triggerProps) {
45
45
  var toolbarButton = /*#__PURE__*/React.createElement(ToolbarButton, {
46
46
  ref: triggerProps.triggerRef,
@@ -49,7 +49,7 @@ var ToolbarDropdownMenuContent = function ToolbarDropdownMenuContent(_ref) {
49
49
  "aria-haspopup": triggerProps['aria-haspopup'],
50
50
  "aria-controls": triggerProps['aria-controls'],
51
51
  onBlur: triggerProps.onBlur
52
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
52
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
53
53
  ,
54
54
  onClick: function onClick(e) {
55
55
  _onClick && _onClick(e, !(menuContext !== null && menuContext !== void 0 && menuContext.isOpen));
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org/"
5
5
  },
6
- "version": "0.20.8",
6
+ "version": "0.20.10",
7
7
  "description": "Common UI for Toolbars across the platform",
8
8
  "atlassian": {
9
9
  "team": "Editor: Jenga",
@@ -24,14 +24,14 @@
24
24
  "@atlaskit/badge": "^18.4.0",
25
25
  "@atlaskit/browser-apis": "^0.0.1",
26
26
  "@atlaskit/css": "^0.19.0",
27
- "@atlaskit/dropdown-menu": "^16.7.0",
27
+ "@atlaskit/dropdown-menu": "^16.8.0",
28
28
  "@atlaskit/icon": "^33.0.0",
29
- "@atlaskit/icon-lab": "^6.0.0",
29
+ "@atlaskit/icon-lab": "^6.1.0",
30
30
  "@atlaskit/platform-feature-flags": "^1.1.0",
31
31
  "@atlaskit/popup": "^4.14.0",
32
- "@atlaskit/primitives": "^18.0.0",
33
- "@atlaskit/tmp-editor-statsig": "^44.2.0",
34
- "@atlaskit/tokens": "^11.1.0",
32
+ "@atlaskit/primitives": "^18.1.0",
33
+ "@atlaskit/tmp-editor-statsig": "^46.0.0",
34
+ "@atlaskit/tokens": "^11.2.0",
35
35
  "@atlaskit/tooltip": "^21.0.0",
36
36
  "@babel/runtime": "^7.0.0",
37
37
  "@compiled/react": "^0.20.0",