@atlaskit/inline-edit 13.5.7 → 13.5.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,27 @@
1
1
  # @atlaskit/inline-edit
2
2
 
3
+ ## 13.5.10
4
+
5
+ ### Patch Changes
6
+
7
+ - [#119140](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/119140)
8
+ [`dbda45aec4c30`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dbda45aec4c30) -
9
+ Migrated usages of deprecated button `UNSAFE` icon size props to new render prop.
10
+
11
+ ## 13.5.9
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
17
+ ## 13.5.8
18
+
19
+ ### Patch Changes
20
+
21
+ - [#118737](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/118737)
22
+ [`4797a41954499`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4797a41954499) -
23
+ Remove remnants of `extract-react-types`.
24
+
3
25
  ## 13.5.7
4
26
 
5
27
  ### Patch Changes
@@ -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.7"
34
+ packageVersion: "13.5.10"
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.7"
24
+ packageVersion: "13.5.10"
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.7"
28
+ packageVersion: "13.5.10"
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.7",
3
+ "version": "13.5.10",
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,12 +37,12 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@atlaskit/analytics-next": "^9.3.0",
40
- "@atlaskit/button": "^18.0.0",
40
+ "@atlaskit/button": "^18.3.0",
41
41
  "@atlaskit/codemod-utils": "^4.2.0",
42
42
  "@atlaskit/form": "^10.4.0",
43
- "@atlaskit/icon": "^22.5.0",
43
+ "@atlaskit/icon": "^22.6.0",
44
44
  "@atlaskit/inline-dialog": "^14.2.0",
45
- "@atlaskit/primitives": "^10.0.0",
45
+ "@atlaskit/primitives": "^11.0.0",
46
46
  "@atlaskit/textfield": "^6.4.0",
47
47
  "@atlaskit/theme": "^12.11.0",
48
48
  "@atlaskit/tokens": "^1.53.0",
@@ -56,18 +56,18 @@
56
56
  "devDependencies": {
57
57
  "@af/accessibility-testing": "*",
58
58
  "@af/integration-testing": "*",
59
- "@atlaskit/datetime-picker": "^13.6.0",
59
+ "@atlaskit/datetime-picker": "^13.7.0",
60
60
  "@atlaskit/docs": "*",
61
61
  "@atlaskit/ds-lib": "^2.3.0",
62
62
  "@atlaskit/section-message": "^6.5.0",
63
63
  "@atlaskit/select": "^17.11.0",
64
64
  "@atlaskit/ssr": "*",
65
- "@atlaskit/tag": "^12.3.0",
65
+ "@atlaskit/tag": "^12.4.0",
66
66
  "@atlaskit/tag-group": "^10.4.0",
67
67
  "@atlaskit/textarea": "^5.5.0",
68
68
  "@atlaskit/visual-regression": "*",
69
69
  "@emotion/styled": "^11.0.0",
70
- "@testing-library/dom": "^8.17.1",
70
+ "@testing-library/dom": "^10.1.0",
71
71
  "@testing-library/react": "^12.1.5",
72
72
  "ast-types": "^0.13.3",
73
73
  "jscodeshift": "^0.13.0",
@@ -1,5 +0,0 @@
1
- import { type InlineEditableTextfieldProps } from '../src/types';
2
-
3
- export default function InlineEditableTextfieldProp(props: InlineEditableTextfieldProps) {
4
- return null;
5
- }