@atlaskit/button 23.7.0 → 23.8.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/button
2
2
 
3
+ ## 23.8.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
  ## 23.7.0
4
15
 
5
16
  ### Minor Changes
@@ -9,7 +9,7 @@ exports.linkButtonVariants = exports.iconButtonVariants = exports.iconButtonShap
9
9
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
10
10
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
11
11
  var _react = _interopRequireWildcard(require("react"));
12
- var _starFilled = _interopRequireDefault(require("@atlaskit/icon/glyph/star-filled"));
12
+ var _starStarred = _interopRequireDefault(require("@atlaskit/icon/core/star-starred"));
13
13
  var _button = _interopRequireDefault(require("../new-button/variants/default/button"));
14
14
  var _link = _interopRequireDefault(require("../new-button/variants/default/link"));
15
15
  var _button2 = _interopRequireDefault(require("../new-button/variants/icon/button"));
@@ -35,7 +35,7 @@ var LinkButtonRender = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref)
35
35
  });
36
36
  var IconButtonRender = /*#__PURE__*/(0, _react.forwardRef)(function (_ref2, ref) {
37
37
  var _ref2$icon = _ref2.icon,
38
- icon = _ref2$icon === void 0 ? _starFilled.default : _ref2$icon,
38
+ icon = _ref2$icon === void 0 ? _starStarred.default : _ref2$icon,
39
39
  _ref2$label = _ref2.label,
40
40
  label = _ref2$label === void 0 ? 'Label' : _ref2$label,
41
41
  rest = (0, _objectWithoutProperties2.default)(_ref2, _excluded2);
@@ -49,7 +49,7 @@ var LinkIconButtonRender = /*#__PURE__*/(0, _react.forwardRef)(function (_ref3,
49
49
  var _ref3$href = _ref3.href,
50
50
  href = _ref3$href === void 0 ? 'home' : _ref3$href,
51
51
  _ref3$icon = _ref3.icon,
52
- icon = _ref3$icon === void 0 ? _starFilled.default : _ref3$icon,
52
+ icon = _ref3$icon === void 0 ? _starStarred.default : _ref3$icon,
53
53
  _ref3$label = _ref3.label,
54
54
  label = _ref3$label === void 0 ? 'Label' : _ref3$label,
55
55
  rest = (0, _objectWithoutProperties2.default)(_ref3, _excluded3);
@@ -1,7 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /* eslint-disable @atlaskit/design-system/no-legacy-icons -- TODO - https://product-fabric.atlassian.net/browse/DSP-20398 */
3
3
  import React, { forwardRef } from 'react';
4
- import StarFilledIcon from '@atlaskit/icon/glyph/star-filled';
4
+ import StarStarredIcon from '@atlaskit/icon/core/star-starred';
5
5
  import Button from '../new-button/variants/default/button';
6
6
  import LinkButton from '../new-button/variants/default/link';
7
7
  import IconButton from '../new-button/variants/icon/button';
@@ -19,7 +19,7 @@ const LinkButtonRender = /*#__PURE__*/forwardRef(({
19
19
  href: href
20
20
  }, rest), children));
21
21
  const IconButtonRender = /*#__PURE__*/forwardRef(({
22
- icon = StarFilledIcon,
22
+ icon = StarStarredIcon,
23
23
  label = 'Label',
24
24
  ...rest
25
25
  }, ref) => /*#__PURE__*/React.createElement(IconButton, _extends({
@@ -29,7 +29,7 @@ const IconButtonRender = /*#__PURE__*/forwardRef(({
29
29
  }, rest)));
30
30
  const LinkIconButtonRender = /*#__PURE__*/forwardRef(({
31
31
  href = 'home',
32
- icon = StarFilledIcon,
32
+ icon = StarStarredIcon,
33
33
  label = 'Label',
34
34
  ...rest
35
35
  }, ref) => /*#__PURE__*/React.createElement(LinkIconButton, _extends({
@@ -5,7 +5,7 @@ var _excluded = ["href", "children"],
5
5
  _excluded3 = ["href", "icon", "label"];
6
6
  /* eslint-disable @atlaskit/design-system/no-legacy-icons -- TODO - https://product-fabric.atlassian.net/browse/DSP-20398 */
7
7
  import React, { forwardRef } from 'react';
8
- import StarFilledIcon from '@atlaskit/icon/glyph/star-filled';
8
+ import StarStarredIcon from '@atlaskit/icon/core/star-starred';
9
9
  import Button from '../new-button/variants/default/button';
10
10
  import LinkButton from '../new-button/variants/default/link';
11
11
  import IconButton from '../new-button/variants/icon/button';
@@ -26,7 +26,7 @@ var LinkButtonRender = /*#__PURE__*/forwardRef(function (_ref, ref) {
26
26
  });
27
27
  var IconButtonRender = /*#__PURE__*/forwardRef(function (_ref2, ref) {
28
28
  var _ref2$icon = _ref2.icon,
29
- icon = _ref2$icon === void 0 ? StarFilledIcon : _ref2$icon,
29
+ icon = _ref2$icon === void 0 ? StarStarredIcon : _ref2$icon,
30
30
  _ref2$label = _ref2.label,
31
31
  label = _ref2$label === void 0 ? 'Label' : _ref2$label,
32
32
  rest = _objectWithoutProperties(_ref2, _excluded2);
@@ -40,7 +40,7 @@ var LinkIconButtonRender = /*#__PURE__*/forwardRef(function (_ref3, ref) {
40
40
  var _ref3$href = _ref3.href,
41
41
  href = _ref3$href === void 0 ? 'home' : _ref3$href,
42
42
  _ref3$icon = _ref3.icon,
43
- icon = _ref3$icon === void 0 ? StarFilledIcon : _ref3$icon,
43
+ icon = _ref3$icon === void 0 ? StarStarredIcon : _ref3$icon,
44
44
  _ref3$label = _ref3.label,
45
45
  label = _ref3$label === void 0 ? 'Label' : _ref3$label,
46
46
  rest = _objectWithoutProperties(_ref3, _excluded3);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/button",
3
- "version": "23.7.0",
3
+ "version": "23.8.0",
4
4
  "description": "A button triggers an event or action. They let users know what will happen next.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -75,16 +75,16 @@
75
75
  },
76
76
  "dependencies": {
77
77
  "@atlaskit/analytics-next": "^11.1.0",
78
- "@atlaskit/css": "^0.17.0",
78
+ "@atlaskit/css": "^0.18.0",
79
79
  "@atlaskit/ds-lib": "^5.3.0",
80
80
  "@atlaskit/focus-ring": "^3.0.0",
81
- "@atlaskit/icon": "^29.0.0",
81
+ "@atlaskit/icon": "^29.2.0",
82
82
  "@atlaskit/interaction-context": "^3.1.0",
83
83
  "@atlaskit/platform-feature-flags": "^1.1.0",
84
84
  "@atlaskit/primitives": "^16.4.0",
85
85
  "@atlaskit/spinner": "^19.0.0",
86
86
  "@atlaskit/theme": "^21.0.0",
87
- "@atlaskit/tokens": "^8.4.0",
87
+ "@atlaskit/tokens": "^8.6.0",
88
88
  "@atlaskit/tooltip": "^20.11.0",
89
89
  "@atlaskit/visually-hidden": "^3.0.0",
90
90
  "@babel/runtime": "^7.0.0",
@@ -102,13 +102,13 @@
102
102
  "@atlaskit/checkbox": "^17.2.0",
103
103
  "@atlaskit/docs": "^11.2.0",
104
104
  "@atlaskit/dropdown-menu": "^16.3.0",
105
- "@atlaskit/form": "^14.3.0",
105
+ "@atlaskit/form": "^15.0.0",
106
106
  "@atlaskit/heading": "^5.2.0",
107
107
  "@atlaskit/link": "^3.2.0",
108
108
  "@atlaskit/logo": "^19.9.0",
109
- "@atlaskit/modal-dialog": "^14.8.0",
110
- "@atlaskit/section-message": "^8.10.0",
111
- "@atlaskit/select": "^21.5.0",
109
+ "@atlaskit/modal-dialog": "^14.9.0",
110
+ "@atlaskit/section-message": "^8.11.0",
111
+ "@atlaskit/select": "^21.6.0",
112
112
  "@atlaskit/toggle": "^15.2.0",
113
113
  "@atlassian/ssr-tests": "workspace:^",
114
114
  "@testing-library/react": "^13.4.0",