@atlaskit/media-avatar-picker 26.0.2 → 26.0.4

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,20 @@
1
1
  # @atlaskit/media-avatar-picker
2
2
 
3
+ ## 26.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 26.0.3
10
+
11
+ ### Patch Changes
12
+
13
+ - [#124281](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/124281)
14
+ [`f70a31c4fdf67`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f70a31c4fdf67) -
15
+ Updated scale image icons sources
16
+ - Updated dependencies
17
+
3
18
  ## 26.0.2
4
19
 
5
20
  ### Patch Changes
@@ -18,8 +18,8 @@ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/ge
18
18
  var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
19
19
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
20
20
  var _range = _interopRequireDefault(require("@atlaskit/range"));
21
- var _scaleLarge = _interopRequireDefault(require("@atlaskit/icon/glyph/media-services/scale-large"));
22
- var _scaleSmall = _interopRequireDefault(require("@atlaskit/icon/glyph/media-services/scale-small"));
21
+ var _imageMediaServicesScaleLarge = _interopRequireDefault(require("@atlaskit/icon/core/migration/image--media-services-scale-large"));
22
+ var _imageMediaServicesScaleSmall = _interopRequireDefault(require("@atlaskit/icon/core/migration/image--media-services-scale-small"));
23
23
  var _standardButton = _interopRequireDefault(require("@atlaskit/button/standard-button"));
24
24
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
25
25
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
@@ -47,10 +47,8 @@ var Slider = exports.Slider = /*#__PURE__*/function (_Component) {
47
47
  }, /*#__PURE__*/React.createElement(_standardButton.default
48
48
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
49
49
  , {
50
- className: "zoom_button zoom_button_small"
51
- // eslint-disable-next-line @atlaskit/design-system/no-legacy-icons -- TODO - https://product-fabric.atlassian.net/browse/DSP-20874
52
- ,
53
- iconAfter: /*#__PURE__*/React.createElement(_scaleSmall.default, {
50
+ className: "zoom_button zoom_button_small",
51
+ iconAfter: /*#__PURE__*/React.createElement(_imageMediaServicesScaleSmall.default, {
54
52
  label: "scale-small-icon"
55
53
  }),
56
54
  onClick: function onClick() {
@@ -62,10 +60,8 @@ var Slider = exports.Slider = /*#__PURE__*/function (_Component) {
62
60
  }), /*#__PURE__*/React.createElement(_standardButton.default
63
61
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
64
62
  , {
65
- className: "zoom_button zoom_button_large"
66
- // eslint-disable-next-line @atlaskit/design-system/no-legacy-icons -- TODO - https://product-fabric.atlassian.net/browse/DSP-20874
67
- ,
68
- iconAfter: /*#__PURE__*/React.createElement(_scaleLarge.default, {
63
+ className: "zoom_button zoom_button_large",
64
+ iconAfter: /*#__PURE__*/React.createElement(_imageMediaServicesScaleLarge.default, {
69
65
  label: "scale-large-icon"
70
66
  }),
71
67
  onClick: function onClick() {
@@ -5,8 +5,8 @@ import * as React from 'react';
5
5
  import { ax, ix } from "@compiled/react/runtime";
6
6
  import { Component } from 'react';
7
7
  import FieldRange from '@atlaskit/range';
8
- import ScaleLargeIcon from '@atlaskit/icon/glyph/media-services/scale-large';
9
- import ScaleSmallIcon from '@atlaskit/icon/glyph/media-services/scale-small';
8
+ import ScaleLargeIcon from '@atlaskit/icon/core/migration/image--media-services-scale-large';
9
+ import ScaleSmallIcon from '@atlaskit/icon/core/migration/image--media-services-scale-small';
10
10
  import Button from '@atlaskit/button/standard-button';
11
11
  export const defaultProps = {
12
12
  value: 0
@@ -24,9 +24,7 @@ export class Slider extends Component {
24
24
  }, /*#__PURE__*/React.createElement(Button
25
25
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
26
26
  , {
27
- className: "zoom_button zoom_button_small"
28
- // eslint-disable-next-line @atlaskit/design-system/no-legacy-icons -- TODO - https://product-fabric.atlassian.net/browse/DSP-20874
29
- ,
27
+ className: "zoom_button zoom_button_small",
30
28
  iconAfter: /*#__PURE__*/React.createElement(ScaleSmallIcon, {
31
29
  label: "scale-small-icon"
32
30
  }),
@@ -37,9 +35,7 @@ export class Slider extends Component {
37
35
  }), /*#__PURE__*/React.createElement(Button
38
36
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
39
37
  , {
40
- className: "zoom_button zoom_button_large"
41
- // eslint-disable-next-line @atlaskit/design-system/no-legacy-icons -- TODO - https://product-fabric.atlassian.net/browse/DSP-20874
42
- ,
38
+ className: "zoom_button zoom_button_large",
43
39
  iconAfter: /*#__PURE__*/React.createElement(ScaleLargeIcon, {
44
40
  label: "scale-large-icon"
45
41
  }),
@@ -12,8 +12,8 @@ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstruct
12
12
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
13
13
  import { Component } from 'react';
14
14
  import FieldRange from '@atlaskit/range';
15
- import ScaleLargeIcon from '@atlaskit/icon/glyph/media-services/scale-large';
16
- import ScaleSmallIcon from '@atlaskit/icon/glyph/media-services/scale-small';
15
+ import ScaleLargeIcon from '@atlaskit/icon/core/migration/image--media-services-scale-large';
16
+ import ScaleSmallIcon from '@atlaskit/icon/core/migration/image--media-services-scale-small';
17
17
  import Button from '@atlaskit/button/standard-button';
18
18
  export var defaultProps = {
19
19
  value: 0
@@ -37,9 +37,7 @@ export var Slider = /*#__PURE__*/function (_Component) {
37
37
  }, /*#__PURE__*/React.createElement(Button
38
38
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
39
39
  , {
40
- className: "zoom_button zoom_button_small"
41
- // eslint-disable-next-line @atlaskit/design-system/no-legacy-icons -- TODO - https://product-fabric.atlassian.net/browse/DSP-20874
42
- ,
40
+ className: "zoom_button zoom_button_small",
43
41
  iconAfter: /*#__PURE__*/React.createElement(ScaleSmallIcon, {
44
42
  label: "scale-small-icon"
45
43
  }),
@@ -52,9 +50,7 @@ export var Slider = /*#__PURE__*/function (_Component) {
52
50
  }), /*#__PURE__*/React.createElement(Button
53
51
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
54
52
  , {
55
- className: "zoom_button zoom_button_large"
56
- // eslint-disable-next-line @atlaskit/design-system/no-legacy-icons -- TODO - https://product-fabric.atlassian.net/browse/DSP-20874
57
- ,
53
+ className: "zoom_button zoom_button_large",
58
54
  iconAfter: /*#__PURE__*/React.createElement(ScaleLargeIcon, {
59
55
  label: "scale-large-icon"
60
56
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-avatar-picker",
3
- "version": "26.0.2",
3
+ "version": "26.0.4",
4
4
  "description": "A component to select, drag and resize image avatars. It also provides a default list of predefined avatars.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -37,17 +37,17 @@
37
37
  "dependencies": {
38
38
  "@atlaskit/button": "^21.1.0",
39
39
  "@atlaskit/css": "^0.10.0",
40
- "@atlaskit/flag": "^16.1.0",
40
+ "@atlaskit/flag": "^17.0.0",
41
41
  "@atlaskit/form": "^12.0.0",
42
- "@atlaskit/icon": "^24.1.0",
42
+ "@atlaskit/icon": "^25.0.0",
43
43
  "@atlaskit/media-ui": "^28.0.0",
44
- "@atlaskit/modal-dialog": "^13.0.0",
44
+ "@atlaskit/modal-dialog": "^13.1.0",
45
45
  "@atlaskit/primitives": "^14.1.0",
46
46
  "@atlaskit/range": "^9.0.0",
47
47
  "@atlaskit/spinner": "^18.0.0",
48
48
  "@atlaskit/textfield": "^8.0.0",
49
49
  "@atlaskit/theme": "^18.0.0",
50
- "@atlaskit/tokens": "^4.3.0",
50
+ "@atlaskit/tokens": "^4.5.0",
51
51
  "@atlaskit/visually-hidden": "^3.0.0",
52
52
  "@babel/runtime": "^7.0.0",
53
53
  "@compiled/react": "^0.18.2",
@@ -62,7 +62,7 @@
62
62
  "devDependencies": {
63
63
  "@atlaskit/media-core": "^35.0.0",
64
64
  "@atlaskit/media-test-helpers": "^35.0.0",
65
- "@atlaskit/visual-regression": "*",
65
+ "@atlaskit/visual-regression": "^0.10.0",
66
66
  "@testing-library/react": "^13.4.0",
67
67
  "@testing-library/user-event": "^14.4.3",
68
68
  "@types/enzyme": "3.1.15",