@atlaskit/inline-edit 15.3.21 → 15.4.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/inline-edit
2
2
 
3
+ ## 15.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`762b79e21f96a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/762b79e21f96a) -
8
+ Migrated and cleaned up legacy iconography usage.
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
3
14
  ## 15.3.21
4
15
 
5
16
  ### Patch Changes
@@ -12,9 +12,8 @@ var React = _interopRequireWildcard(require("react"));
12
12
  var _runtime = require("@compiled/react/runtime");
13
13
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
14
14
  var _new = require("@atlaskit/button/new");
15
+ var _checkMark = _interopRequireDefault(require("@atlaskit/icon/core/check-mark"));
15
16
  var _cross = _interopRequireDefault(require("@atlaskit/icon/core/cross"));
16
- var _checkMarkCheck = _interopRequireDefault(require("@atlaskit/icon/core/migration/check-mark--check"));
17
- var _cross2 = _interopRequireDefault(require("@atlaskit/icon/glyph/cross"));
18
17
  var _colors = require("@atlaskit/theme/colors");
19
18
  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); }
20
19
  /* eslint-disable @atlaskit/design-system/no-nested-styles */
@@ -42,8 +41,7 @@ var Buttons = function Buttons(_ref) {
42
41
  }, /*#__PURE__*/React.createElement(_new.IconButton, {
43
42
  type: "submit",
44
43
  icon: function icon(iconProps) {
45
- return /*#__PURE__*/React.createElement(_checkMarkCheck.default, (0, _extends2.default)({}, iconProps, {
46
- LEGACY_size: "small",
44
+ return /*#__PURE__*/React.createElement(_checkMark.default, (0, _extends2.default)({}, iconProps, {
47
45
  size: "small"
48
46
  }));
49
47
  },
@@ -63,8 +61,6 @@ var Buttons = function Buttons(_ref) {
63
61
  }, /*#__PURE__*/React.createElement(_new.IconButton, {
64
62
  icon: function icon(iconProps) {
65
63
  return /*#__PURE__*/React.createElement(_cross.default, (0, _extends2.default)({}, iconProps, {
66
- LEGACY_size: "small",
67
- LEGACY_fallbackIcon: _cross2.default,
68
64
  size: "small"
69
65
  }));
70
66
  },
@@ -7,9 +7,8 @@ import { ax, ix } from "@compiled/react/runtime";
7
7
  /* eslint-disable @atlaskit/ui-styling-standard/no-nested-selectors */
8
8
 
9
9
  import { IconButton } from '@atlaskit/button/new';
10
+ import CheckMarkIcon from '@atlaskit/icon/core/check-mark';
10
11
  import CrossIcon from '@atlaskit/icon/core/cross';
11
- import CheckMarkIcon from '@atlaskit/icon/core/migration/check-mark--check';
12
- import CancelIcon from '@atlaskit/icon/glyph/cross';
13
12
  import { B400, N0, N20A, N30A, N50A, N60A } from '@atlaskit/theme/colors';
14
13
  const buttonsContainerStyles = null;
15
14
  const buttonWrapperBaseStyles = null;
@@ -28,7 +27,6 @@ const Buttons = ({
28
27
  }, /*#__PURE__*/React.createElement(IconButton, {
29
28
  type: "submit",
30
29
  icon: iconProps => /*#__PURE__*/React.createElement(CheckMarkIcon, _extends({}, iconProps, {
31
- LEGACY_size: "small",
32
30
  size: "small"
33
31
  })),
34
32
  onMouseDown: onMouseDown,
@@ -39,8 +37,6 @@ const Buttons = ({
39
37
  className: ax(["_2rkofajl _11c82smr _vchhusvi _1bsbxy5q _1pby1kze _bfhk1bhr _16qs1kf5 _1mpy1b66 _1nlxs66q _l2uv88o1 _7mfvdecw _szlb1x4z"])
40
38
  }, /*#__PURE__*/React.createElement(IconButton, {
41
39
  icon: iconProps => /*#__PURE__*/React.createElement(CrossIcon, _extends({}, iconProps, {
42
- LEGACY_size: "small",
43
- LEGACY_fallbackIcon: CancelIcon,
44
40
  size: "small"
45
41
  })),
46
42
  label: cancelButtonLabel,
@@ -7,9 +7,8 @@ import { ax, ix } from "@compiled/react/runtime";
7
7
  /* eslint-disable @atlaskit/ui-styling-standard/no-nested-selectors */
8
8
 
9
9
  import { IconButton } from '@atlaskit/button/new';
10
+ import CheckMarkIcon from '@atlaskit/icon/core/check-mark';
10
11
  import CrossIcon from '@atlaskit/icon/core/cross';
11
- import CheckMarkIcon from '@atlaskit/icon/core/migration/check-mark--check';
12
- import CancelIcon from '@atlaskit/icon/glyph/cross';
13
12
  import { B400, N0, N20A, N30A, N50A, N60A } from '@atlaskit/theme/colors';
14
13
  var buttonsContainerStyles = null;
15
14
  var buttonWrapperBaseStyles = null;
@@ -35,7 +34,6 @@ var Buttons = function Buttons(_ref) {
35
34
  type: "submit",
36
35
  icon: function icon(iconProps) {
37
36
  return /*#__PURE__*/React.createElement(CheckMarkIcon, _extends({}, iconProps, {
38
- LEGACY_size: "small",
39
37
  size: "small"
40
38
  }));
41
39
  },
@@ -55,8 +53,6 @@ var Buttons = function Buttons(_ref) {
55
53
  }, /*#__PURE__*/React.createElement(IconButton, {
56
54
  icon: function icon(iconProps) {
57
55
  return /*#__PURE__*/React.createElement(CrossIcon, _extends({}, iconProps, {
58
- LEGACY_size: "small",
59
- LEGACY_fallbackIcon: CancelIcon,
60
56
  size: "small"
61
57
  }));
62
58
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/inline-edit",
3
- "version": "15.3.21",
3
+ "version": "15.4.0",
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/"
@@ -34,16 +34,16 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@atlaskit/analytics-next": "^11.1.0",
37
- "@atlaskit/button": "^23.7.0",
38
- "@atlaskit/css": "^0.17.0",
37
+ "@atlaskit/button": "^23.8.0",
38
+ "@atlaskit/css": "^0.18.0",
39
39
  "@atlaskit/form": "^15.0.0",
40
- "@atlaskit/icon": "^29.0.0",
40
+ "@atlaskit/icon": "^29.2.0",
41
41
  "@atlaskit/inline-dialog": "^18.0.0",
42
42
  "@atlaskit/platform-feature-flags": "^1.1.0",
43
43
  "@atlaskit/primitives": "^16.4.0",
44
44
  "@atlaskit/textfield": "^8.2.0",
45
45
  "@atlaskit/theme": "^21.0.0",
46
- "@atlaskit/tokens": "^8.4.0",
46
+ "@atlaskit/tokens": "^8.6.0",
47
47
  "@atlaskit/visually-hidden": "^3.0.0",
48
48
  "@babel/runtime": "^7.0.0",
49
49
  "@compiled/react": "^0.18.6"
@@ -58,9 +58,9 @@
58
58
  "@atlaskit/docs": "^11.2.0",
59
59
  "@atlaskit/heading": "^5.2.0",
60
60
  "@atlaskit/link": "^3.2.0",
61
- "@atlaskit/section-message": "^8.10.0",
62
- "@atlaskit/select": "^21.5.0",
63
- "@atlaskit/tag": "^14.1.0",
61
+ "@atlaskit/section-message": "^8.11.0",
62
+ "@atlaskit/select": "^21.6.0",
63
+ "@atlaskit/tag": "^14.2.0",
64
64
  "@atlaskit/tag-group": "^12.0.0",
65
65
  "@atlaskit/textarea": "^8.2.0",
66
66
  "@atlassian/ssr-tests": "workspace:^",