@atlaskit/inline-edit 13.5.9 → 13.5.11

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,21 @@
1
1
  # @atlaskit/inline-edit
2
2
 
3
+ ## 13.5.11
4
+
5
+ ### Patch Changes
6
+
7
+ - [#120049](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/120049)
8
+ [`77504ff274f72`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/77504ff274f72) -
9
+ DSP-19576: Assign names to anonymous default exports
10
+
11
+ ## 13.5.10
12
+
13
+ ### Patch Changes
14
+
15
+ - [#119140](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/119140)
16
+ [`dbda45aec4c30`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dbda45aec4c30) -
17
+ Migrated usages of deprecated button `UNSAFE` icon size props to new render prop.
18
+
3
19
  ## 13.5.9
4
20
 
5
21
  ### Patch Changes
@@ -50,6 +50,7 @@ const elevateComponentToDefault =
50
50
  });
51
51
  };
52
52
 
53
+ // eslint-disable-next-line import/no-anonymous-default-export
53
54
  export default elevateComponentToDefault(
54
55
  '@atlaskit/inline-edit',
55
56
  '@atlaskit/inline-edit',
@@ -33,6 +33,7 @@ const elevateComponentToNewEntryPoint =
33
33
  });
34
34
  };
35
35
 
36
+ // eslint-disable-next-line import/no-anonymous-default-export
36
37
  export default elevateComponentToNewEntryPoint(
37
38
  '@atlaskit/inline-edit',
38
39
  '@atlaskit/inline-edit/inline-editable-textfield',
@@ -31,7 +31,7 @@ var fieldStyles = (0, _react2.css)({
31
31
  var analyticsAttributes = {
32
32
  componentName: 'inlineEdit',
33
33
  packageName: "@atlaskit/inline-edit",
34
- packageVersion: "13.5.9"
34
+ packageVersion: "13.5.11"
35
35
  };
36
36
  var noop = function noop() {};
37
37
  var InnerInlineEdit = function InnerInlineEdit(props) {
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.default = void 0;
8
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
8
9
  var _react = require("@emotion/react");
9
10
  var _new = require("@atlaskit/button/new");
10
11
  var _check = _interopRequireDefault(require("@atlaskit/icon/glyph/check"));
@@ -68,16 +69,22 @@ var Buttons = function Buttons(_ref) {
68
69
  css: buttonWrapperBaseStyles
69
70
  }, (0, _react.jsx)(_new.IconButton, {
70
71
  type: "submit",
71
- icon: _check.default,
72
- UNSAFE_size: "small",
72
+ icon: function icon(iconProps) {
73
+ return (0, _react.jsx)(_check.default, (0, _extends2.default)({}, iconProps, {
74
+ size: "small"
75
+ }));
76
+ },
73
77
  onMouseDown: onMouseDown,
74
78
  label: confirmButtonLabel,
75
79
  testId: testId && "".concat(testId, "--confirm")
76
80
  })), (0, _react.jsx)("div", {
77
81
  css: buttonWrapperBaseStyles
78
82
  }, (0, _react.jsx)(_new.IconButton, {
79
- icon: _cross.default,
80
- UNSAFE_size: "small",
83
+ icon: function icon(iconProps) {
84
+ return (0, _react.jsx)(_cross.default, (0, _extends2.default)({}, iconProps, {
85
+ size: "small"
86
+ }));
87
+ },
81
88
  label: cancelButtonLabel,
82
89
  onClick: onCancelClick,
83
90
  onMouseDown: onMouseDown,
@@ -21,7 +21,7 @@ const fieldStyles = css({
21
21
  const analyticsAttributes = {
22
22
  componentName: 'inlineEdit',
23
23
  packageName: "@atlaskit/inline-edit",
24
- packageVersion: "13.5.9"
24
+ packageVersion: "13.5.11"
25
25
  };
26
26
  const noop = () => {};
27
27
  const InnerInlineEdit = props => {
@@ -1,3 +1,4 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
1
2
  /**
2
3
  * @jsxRuntime classic
3
4
  */
@@ -61,16 +62,18 @@ const Buttons = ({
61
62
  css: buttonWrapperBaseStyles
62
63
  }, jsx(IconButton, {
63
64
  type: "submit",
64
- icon: ConfirmIcon,
65
- UNSAFE_size: "small",
65
+ icon: iconProps => jsx(ConfirmIcon, _extends({}, iconProps, {
66
+ size: "small"
67
+ })),
66
68
  onMouseDown: onMouseDown,
67
69
  label: confirmButtonLabel,
68
70
  testId: testId && `${testId}--confirm`
69
71
  })), jsx("div", {
70
72
  css: buttonWrapperBaseStyles
71
73
  }, jsx(IconButton, {
72
- icon: CancelIcon,
73
- UNSAFE_size: "small",
74
+ icon: iconProps => jsx(CancelIcon, _extends({}, iconProps, {
75
+ size: "small"
76
+ })),
74
77
  label: cancelButtonLabel,
75
78
  onClick: onCancelClick,
76
79
  onMouseDown: onMouseDown,
@@ -25,7 +25,7 @@ var fieldStyles = css({
25
25
  var analyticsAttributes = {
26
26
  componentName: 'inlineEdit',
27
27
  packageName: "@atlaskit/inline-edit",
28
- packageVersion: "13.5.9"
28
+ packageVersion: "13.5.11"
29
29
  };
30
30
  var noop = function noop() {};
31
31
  var InnerInlineEdit = function InnerInlineEdit(props) {
@@ -1,3 +1,4 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
1
2
  /**
2
3
  * @jsxRuntime classic
3
4
  */
@@ -60,16 +61,22 @@ var Buttons = function Buttons(_ref) {
60
61
  css: buttonWrapperBaseStyles
61
62
  }, jsx(IconButton, {
62
63
  type: "submit",
63
- icon: ConfirmIcon,
64
- UNSAFE_size: "small",
64
+ icon: function icon(iconProps) {
65
+ return jsx(ConfirmIcon, _extends({}, iconProps, {
66
+ size: "small"
67
+ }));
68
+ },
65
69
  onMouseDown: onMouseDown,
66
70
  label: confirmButtonLabel,
67
71
  testId: testId && "".concat(testId, "--confirm")
68
72
  })), jsx("div", {
69
73
  css: buttonWrapperBaseStyles
70
74
  }, jsx(IconButton, {
71
- icon: CancelIcon,
72
- UNSAFE_size: "small",
75
+ icon: function icon(iconProps) {
76
+ return jsx(CancelIcon, _extends({}, iconProps, {
77
+ size: "small"
78
+ }));
79
+ },
73
80
  label: cancelButtonLabel,
74
81
  onClick: onCancelClick,
75
82
  onMouseDown: onMouseDown,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/inline-edit",
3
- "version": "13.5.9",
3
+ "version": "13.5.11",
4
4
  "description": "An inline edit displays a custom input component that switches between reading and editing on the same page.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@atlaskit/analytics-next": "^9.3.0",
40
- "@atlaskit/button": "^18.3.0",
40
+ "@atlaskit/button": "^18.4.0",
41
41
  "@atlaskit/codemod-utils": "^4.2.0",
42
42
  "@atlaskit/form": "^10.4.0",
43
43
  "@atlaskit/icon": "^22.6.0",
@@ -45,7 +45,7 @@
45
45
  "@atlaskit/primitives": "^11.0.0",
46
46
  "@atlaskit/textfield": "^6.4.0",
47
47
  "@atlaskit/theme": "^12.11.0",
48
- "@atlaskit/tokens": "^1.53.0",
48
+ "@atlaskit/tokens": "^1.54.0",
49
49
  "@atlaskit/visually-hidden": "^1.4.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@emotion/react": "^11.7.1"