@atlaskit/media-avatar-picker 25.0.7 → 25.1.1
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 +18 -0
- package/dist/cjs/avatar-list/index.js +1 -1
- package/dist/cjs/avatar-picker-dialog/SubmitErrorDialog.js +1 -1
- package/dist/cjs/avatar-picker-dialog/index.js +1 -1
- package/dist/cjs/image-cropper/index.js +1 -1
- package/dist/cjs/image-navigator/dragZone.js +1 -1
- package/dist/cjs/image-navigator/index.js +1 -1
- package/dist/cjs/image-navigator/slider.js +1 -1
- package/dist/cjs/image-placer/containerWrapper.js +1 -1
- package/dist/cjs/image-placer/imagePlacerErrorWrapper.js +1 -1
- package/dist/cjs/image-placer/imageWrapper.js +1 -1
- package/dist/cjs/image-placer/index.js +1 -1
- package/dist/cjs/image-placer/margin.js +1 -1
- package/dist/cjs/predefined-avatar-list/index.js +1 -1
- package/dist/cjs/predefined-avatar-view/index.compiled.css +1 -1
- package/dist/cjs/predefined-avatar-view/index.js +2 -5
- package/dist/es2019/avatar-list/index.js +1 -1
- package/dist/es2019/avatar-picker-dialog/SubmitErrorDialog.js +1 -1
- package/dist/es2019/avatar-picker-dialog/index.js +1 -1
- package/dist/es2019/image-cropper/index.js +1 -1
- package/dist/es2019/image-navigator/dragZone.js +1 -1
- package/dist/es2019/image-navigator/index.js +1 -1
- package/dist/es2019/image-navigator/slider.js +1 -1
- package/dist/es2019/image-placer/containerWrapper.js +1 -1
- package/dist/es2019/image-placer/imagePlacerErrorWrapper.js +1 -1
- package/dist/es2019/image-placer/imageWrapper.js +1 -1
- package/dist/es2019/image-placer/index.js +1 -1
- package/dist/es2019/image-placer/margin.js +1 -1
- package/dist/es2019/predefined-avatar-list/index.js +1 -1
- package/dist/es2019/predefined-avatar-view/index.compiled.css +1 -1
- package/dist/es2019/predefined-avatar-view/index.js +2 -2
- package/dist/esm/avatar-list/index.js +1 -1
- package/dist/esm/avatar-picker-dialog/SubmitErrorDialog.js +1 -1
- package/dist/esm/avatar-picker-dialog/index.js +1 -1
- package/dist/esm/image-cropper/index.js +1 -1
- package/dist/esm/image-navigator/dragZone.js +1 -1
- package/dist/esm/image-navigator/index.js +1 -1
- package/dist/esm/image-navigator/slider.js +1 -1
- package/dist/esm/image-placer/containerWrapper.js +1 -1
- package/dist/esm/image-placer/imagePlacerErrorWrapper.js +1 -1
- package/dist/esm/image-placer/imageWrapper.js +1 -1
- package/dist/esm/image-placer/index.js +1 -1
- package/dist/esm/image-placer/margin.js +1 -1
- package/dist/esm/predefined-avatar-list/index.js +1 -1
- package/dist/esm/predefined-avatar-view/index.compiled.css +1 -1
- package/dist/esm/predefined-avatar-view/index.js +2 -5
- package/dist/types/avatar-picker-dialog/SRLiveTitle.d.ts +2 -2
- package/dist/types/avatar-picker-dialog/avatar-picker-dialog-error-boundary.d.ts +2 -1
- package/dist/types/avatar-picker-dialog/avatar-picker-dialog-loader.d.ts +2 -2
- package/dist/types/avatar-picker-dialog/custom-spinner.d.ts +2 -2
- package/dist/types/image-cropper/index.d.ts +1 -1
- package/dist/types/image-placer/container.d.ts +1 -1
- package/dist/types/image-placer/image.d.ts +1 -1
- package/dist/types-ts4.5/avatar-picker-dialog/SRLiveTitle.d.ts +2 -2
- package/dist/types-ts4.5/avatar-picker-dialog/avatar-picker-dialog-error-boundary.d.ts +2 -1
- package/dist/types-ts4.5/avatar-picker-dialog/avatar-picker-dialog-loader.d.ts +2 -2
- package/dist/types-ts4.5/avatar-picker-dialog/custom-spinner.d.ts +2 -2
- package/dist/types-ts4.5/image-cropper/index.d.ts +1 -1
- package/dist/types-ts4.5/image-placer/container.d.ts +1 -1
- package/dist/types-ts4.5/image-placer/image.d.ts +1 -1
- package/package.json +20 -20
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/media-avatar-picker
|
|
2
2
|
|
|
3
|
+
## 25.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 25.1.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
|
|
14
|
+
[`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
|
|
15
|
+
Update `React` from v16 to v18
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 25.0.7
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
._11c81oud{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._19itidpf{border:0}
|
|
3
|
-
._1yt41rh4{padding:var(--_22le7)}
|
|
4
3
|
._2rko1q77{border-radius:var(--ds-border-radius-400,1pc)}
|
|
5
4
|
._2rkosqtm{border-radius:var(--ds-border-radius-100,3px)}
|
|
6
5
|
._16qsbenk{box-shadow:var(--_5tra1i)}
|
|
@@ -31,6 +30,7 @@
|
|
|
31
30
|
._c71lgrxc{max-height:294px}
|
|
32
31
|
._ca0q1b66{padding-top:var(--ds-space-050,4px)}
|
|
33
32
|
._ca0qidpf{padding-top:0}
|
|
33
|
+
._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
|
|
34
34
|
._kqsw1n9t{position:fixed}
|
|
35
35
|
._n3tdidpf{padding-bottom:0}
|
|
36
36
|
._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -99,9 +99,6 @@ var PredefinedAvatarView = exports.PredefinedAvatarView = function PredefinedAva
|
|
|
99
99
|
}, predefinedAvatarsText || /*#__PURE__*/React.createElement(_reactIntlNext.FormattedMessage, _mediaUi.messages.default_avatars))), /*#__PURE__*/React.createElement("div", {
|
|
100
100
|
role: "radiogroup",
|
|
101
101
|
"aria-label": selectAvatarLabel || intl.formatMessage(_mediaUi.messages.select_an_avatar),
|
|
102
|
-
className: (0, _runtime.ax)(["_2lx2vrvc _1n261g80
|
|
103
|
-
style: {
|
|
104
|
-
"--_22le7": (0, _runtime.ix)("var(--ds-space-100, 8px)".concat(" 0 0"))
|
|
105
|
-
}
|
|
102
|
+
className: (0, _runtime.ax)(["_2lx2vrvc _1n261g80 _19pkidpf _2hwxidpf _otyridpf _18u0idpf _1e0c1txw _1bsb1665 _c71lgrxc _18m91wug _ca0qu2gc _u5f3idpf _n3tdidpf _19bvidpf"])
|
|
106
103
|
}, cards));
|
|
107
104
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* SubmitErrorDialog.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* SubmitErrorDialog.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import "./SubmitErrorDialog.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
import "./index.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
import "./index.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import "./index.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* containerWrapper.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* containerWrapper.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./containerWrapper.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* imagePlacerErrorWrapper.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* imagePlacerErrorWrapper.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import "./imagePlacerErrorWrapper.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import "./index.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
._11c81oud{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._19itidpf{border:0}
|
|
3
|
-
._1yt4qssn{padding:var(--ds-space-100,8px) 0 0}
|
|
4
3
|
._2rko1q77{border-radius:var(--ds-border-radius-400,1pc)}
|
|
5
4
|
._2rkosqtm{border-radius:var(--ds-border-radius-100,3px)}
|
|
6
5
|
._16qs1ng2{box-shadow:0 0 0 1px var(--ds-border-inverse,#fff),0 0 0 3px var(--ds-border-focused,#4c9aff)}
|
|
@@ -31,6 +30,7 @@
|
|
|
31
30
|
._c71lgrxc{max-height:294px}
|
|
32
31
|
._ca0q1b66{padding-top:var(--ds-space-050,4px)}
|
|
33
32
|
._ca0qidpf{padding-top:0}
|
|
33
|
+
._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
|
|
34
34
|
._kqsw1n9t{position:fixed}
|
|
35
35
|
._n3tdidpf{padding-bottom:0}
|
|
36
36
|
._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import "./index.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -78,6 +78,6 @@ export const PredefinedAvatarView = ({
|
|
|
78
78
|
}, predefinedAvatarsText || /*#__PURE__*/React.createElement(FormattedMessage, messages.default_avatars))), /*#__PURE__*/React.createElement("div", {
|
|
79
79
|
role: "radiogroup",
|
|
80
80
|
"aria-label": selectAvatarLabel || intl.formatMessage(messages.select_an_avatar),
|
|
81
|
-
className: ax(["_2lx2vrvc _1n261g80
|
|
81
|
+
className: ax(["_2lx2vrvc _1n261g80 _19pkidpf _2hwxidpf _otyridpf _18u0idpf _1e0c1txw _1bsb1665 _c71lgrxc _18m91wug _ca0qu2gc _u5f3idpf _n3tdidpf _19bvidpf"])
|
|
82
82
|
}, cards));
|
|
83
83
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
import "./index.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* SubmitErrorDialog.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* SubmitErrorDialog.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import "./SubmitErrorDialog.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
4
4
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
4
4
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* dragZone.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* dragZone.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["showBorder", "isDroppingFile", "children"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
3
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
4
4
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* slider.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* slider.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
3
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
4
4
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* containerWrapper.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* containerWrapper.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["width", "height", "margin", "children"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* imagePlacerErrorWrapper.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* imagePlacerErrorWrapper.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import "./imagePlacerErrorWrapper.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* imageWrapper.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* imageWrapper.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["x", "y", "width", "height", "transform"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _typeof from "@babel/runtime/helpers/typeof";
|
|
3
3
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
4
4
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* margin.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* margin.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
3
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
4
4
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
._11c81oud{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._19itidpf{border:0}
|
|
3
|
-
._1yt41rh4{padding:var(--_22le7)}
|
|
4
3
|
._2rko1q77{border-radius:var(--ds-border-radius-400,1pc)}
|
|
5
4
|
._2rkosqtm{border-radius:var(--ds-border-radius-100,3px)}
|
|
6
5
|
._16qsbenk{box-shadow:var(--_5tra1i)}
|
|
@@ -31,6 +30,7 @@
|
|
|
31
30
|
._c71lgrxc{max-height:294px}
|
|
32
31
|
._ca0q1b66{padding-top:var(--ds-space-050,4px)}
|
|
33
32
|
._ca0qidpf{padding-top:0}
|
|
33
|
+
._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
|
|
34
34
|
._kqsw1n9t{position:fixed}
|
|
35
35
|
._n3tdidpf{padding-bottom:0}
|
|
36
36
|
._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
import "./index.compiled.css";
|
|
@@ -89,9 +89,6 @@ export var PredefinedAvatarView = function PredefinedAvatarView(_ref) {
|
|
|
89
89
|
}, predefinedAvatarsText || /*#__PURE__*/React.createElement(FormattedMessage, messages.default_avatars))), /*#__PURE__*/React.createElement("div", {
|
|
90
90
|
role: "radiogroup",
|
|
91
91
|
"aria-label": selectAvatarLabel || intl.formatMessage(messages.select_an_avatar),
|
|
92
|
-
className: ax(["_2lx2vrvc _1n261g80
|
|
93
|
-
style: {
|
|
94
|
-
"--_22le7": ix("var(--ds-space-100, 8px)".concat(" 0 0"))
|
|
95
|
-
}
|
|
92
|
+
className: ax(["_2lx2vrvc _1n261g80 _19pkidpf _2hwxidpf _otyridpf _18u0idpf _1e0c1txw _1bsb1665 _c71lgrxc _18m91wug _ca0qu2gc _u5f3idpf _n3tdidpf _19bvidpf"])
|
|
96
93
|
}, cards));
|
|
97
94
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { Mode } from './types';
|
|
3
3
|
type SRLiveTitleProps = {
|
|
4
4
|
mode: Mode;
|
|
5
5
|
};
|
|
6
|
-
export declare const SRLiveTitle: ({ mode }: SRLiveTitleProps) => JSX.Element;
|
|
6
|
+
export declare const SRLiveTitle: ({ mode }: SRLiveTitleProps) => React.JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { type ReactNode } from 'react';
|
|
2
3
|
import { type AvatarPickerDialogProps } from './types';
|
|
3
4
|
export type AvatarPickerDialogErrorBoundaryProps = AvatarPickerDialogProps & {
|
|
4
5
|
placeholder?: ReactNode;
|
|
5
6
|
};
|
|
6
|
-
export default function AvatarPickerDialogErrorBoundary(props: AvatarPickerDialogErrorBoundaryProps): JSX.Element;
|
|
7
|
+
export default function AvatarPickerDialogErrorBoundary(props: AvatarPickerDialogErrorBoundaryProps): React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { type AvatarPickerDialogErrorBoundaryProps } from './avatar-picker-dialog-error-boundary';
|
|
3
3
|
export type AsyncAvatarPickerDialogProps = AvatarPickerDialogErrorBoundaryProps;
|
|
4
|
-
export default function AsyncAvatarPickerDialog(props: AsyncAvatarPickerDialogProps): JSX.Element;
|
|
4
|
+
export default function AsyncAvatarPickerDialog(props: AsyncAvatarPickerDialogProps): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const CustomSpinner: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const CustomSpinner: () => React.JSX.Element;
|
|
@@ -25,7 +25,7 @@ export declare class ImageCropper extends Component<ImageCropperProp & WrappedCo
|
|
|
25
25
|
componentDidMount(): void;
|
|
26
26
|
onDragStarted: (e: React.MouseEvent<{}>) => void;
|
|
27
27
|
onImageError: () => void;
|
|
28
|
-
render(): JSX.Element | null;
|
|
28
|
+
render(): React.JSX.Element | null;
|
|
29
29
|
}
|
|
30
30
|
declare const _default: React.FC<ImageCropperProp>;
|
|
31
31
|
export default _default;
|
|
@@ -25,5 +25,5 @@ export declare class ImagePlacerContainer extends React.Component<ImagePlacerCon
|
|
|
25
25
|
onTouchMove: (e: TouchEvent) => void;
|
|
26
26
|
onMouseUp: () => void;
|
|
27
27
|
onWheel: (e: React.WheelEvent<HTMLDivElement>) => void;
|
|
28
|
-
render(): JSX.Element;
|
|
28
|
+
render(): React.JSX.Element;
|
|
29
29
|
}
|
|
@@ -16,5 +16,5 @@ export declare class ImagePlacerImage extends React.Component<ImagePlacerImagePr
|
|
|
16
16
|
constructor(props: ImagePlacerImageProps);
|
|
17
17
|
onLoad: (e: React.SyntheticEvent<HTMLImageElement>) => void;
|
|
18
18
|
onError: () => void;
|
|
19
|
-
render(): JSX.Element | null;
|
|
19
|
+
render(): React.JSX.Element | null;
|
|
20
20
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { Mode } from './types';
|
|
3
3
|
type SRLiveTitleProps = {
|
|
4
4
|
mode: Mode;
|
|
5
5
|
};
|
|
6
|
-
export declare const SRLiveTitle: ({ mode }: SRLiveTitleProps) => JSX.Element;
|
|
6
|
+
export declare const SRLiveTitle: ({ mode }: SRLiveTitleProps) => React.JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { type ReactNode } from 'react';
|
|
2
3
|
import { type AvatarPickerDialogProps } from './types';
|
|
3
4
|
export type AvatarPickerDialogErrorBoundaryProps = AvatarPickerDialogProps & {
|
|
4
5
|
placeholder?: ReactNode;
|
|
5
6
|
};
|
|
6
|
-
export default function AvatarPickerDialogErrorBoundary(props: AvatarPickerDialogErrorBoundaryProps): JSX.Element;
|
|
7
|
+
export default function AvatarPickerDialogErrorBoundary(props: AvatarPickerDialogErrorBoundaryProps): React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { type AvatarPickerDialogErrorBoundaryProps } from './avatar-picker-dialog-error-boundary';
|
|
3
3
|
export type AsyncAvatarPickerDialogProps = AvatarPickerDialogErrorBoundaryProps;
|
|
4
|
-
export default function AsyncAvatarPickerDialog(props: AsyncAvatarPickerDialogProps): JSX.Element;
|
|
4
|
+
export default function AsyncAvatarPickerDialog(props: AsyncAvatarPickerDialogProps): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const CustomSpinner: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const CustomSpinner: () => React.JSX.Element;
|
|
@@ -25,7 +25,7 @@ export declare class ImageCropper extends Component<ImageCropperProp & WrappedCo
|
|
|
25
25
|
componentDidMount(): void;
|
|
26
26
|
onDragStarted: (e: React.MouseEvent<{}>) => void;
|
|
27
27
|
onImageError: () => void;
|
|
28
|
-
render(): JSX.Element | null;
|
|
28
|
+
render(): React.JSX.Element | null;
|
|
29
29
|
}
|
|
30
30
|
declare const _default: React.FC<ImageCropperProp>;
|
|
31
31
|
export default _default;
|
|
@@ -25,5 +25,5 @@ export declare class ImagePlacerContainer extends React.Component<ImagePlacerCon
|
|
|
25
25
|
onTouchMove: (e: TouchEvent) => void;
|
|
26
26
|
onMouseUp: () => void;
|
|
27
27
|
onWheel: (e: React.WheelEvent<HTMLDivElement>) => void;
|
|
28
|
-
render(): JSX.Element;
|
|
28
|
+
render(): React.JSX.Element;
|
|
29
29
|
}
|
|
@@ -16,5 +16,5 @@ export declare class ImagePlacerImage extends React.Component<ImagePlacerImagePr
|
|
|
16
16
|
constructor(props: ImagePlacerImageProps);
|
|
17
17
|
onLoad: (e: React.SyntheticEvent<HTMLImageElement>) => void;
|
|
18
18
|
onError: () => void;
|
|
19
|
-
render(): JSX.Element | null;
|
|
19
|
+
render(): React.JSX.Element | null;
|
|
20
20
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-avatar-picker",
|
|
3
|
-
"version": "25.
|
|
3
|
+
"version": "25.1.1",
|
|
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/"
|
|
@@ -35,20 +35,20 @@
|
|
|
35
35
|
"runReact18": true
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@atlaskit/button": "^20.
|
|
39
|
-
"@atlaskit/css": "^0.
|
|
40
|
-
"@atlaskit/flag": "^15.
|
|
41
|
-
"@atlaskit/form": "^11.
|
|
42
|
-
"@atlaskit/icon": "^23.
|
|
43
|
-
"@atlaskit/media-ui": "^27.
|
|
44
|
-
"@atlaskit/modal-dialog": "^12.
|
|
45
|
-
"@atlaskit/primitives": "^13.
|
|
46
|
-
"@atlaskit/range": "^8.
|
|
47
|
-
"@atlaskit/spinner": "^17.
|
|
48
|
-
"@atlaskit/textfield": "^6.
|
|
49
|
-
"@atlaskit/theme": "^
|
|
50
|
-
"@atlaskit/tokens": "^3.
|
|
51
|
-
"@atlaskit/visually-hidden": "^1.
|
|
38
|
+
"@atlaskit/button": "^20.5.0",
|
|
39
|
+
"@atlaskit/css": "^0.8.0",
|
|
40
|
+
"@atlaskit/flag": "^15.9.0",
|
|
41
|
+
"@atlaskit/form": "^11.1.0",
|
|
42
|
+
"@atlaskit/icon": "^23.7.0",
|
|
43
|
+
"@atlaskit/media-ui": "^27.4.0",
|
|
44
|
+
"@atlaskit/modal-dialog": "^12.20.0",
|
|
45
|
+
"@atlaskit/primitives": "^13.4.0",
|
|
46
|
+
"@atlaskit/range": "^8.1.0",
|
|
47
|
+
"@atlaskit/spinner": "^17.1.0",
|
|
48
|
+
"@atlaskit/textfield": "^6.8.0",
|
|
49
|
+
"@atlaskit/theme": "^15.0.0",
|
|
50
|
+
"@atlaskit/tokens": "^3.3.0",
|
|
51
|
+
"@atlaskit/visually-hidden": "^1.6.0",
|
|
52
52
|
"@babel/runtime": "^7.0.0",
|
|
53
53
|
"@compiled/react": "^0.18.1",
|
|
54
54
|
"exenv": "^1.2.2",
|
|
@@ -60,16 +60,16 @@
|
|
|
60
60
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@atlaskit/media-core": "^34.
|
|
64
|
-
"@atlaskit/media-test-helpers": "^34.
|
|
63
|
+
"@atlaskit/media-core": "^34.5.0",
|
|
64
|
+
"@atlaskit/media-test-helpers": "^34.8.0",
|
|
65
65
|
"@atlaskit/visual-regression": "*",
|
|
66
|
-
"@testing-library/react": "^
|
|
66
|
+
"@testing-library/react": "^13.4.0",
|
|
67
67
|
"@testing-library/user-event": "^14.4.3",
|
|
68
68
|
"@types/enzyme": "3.1.15",
|
|
69
69
|
"@types/exenv": "^1.2.0",
|
|
70
70
|
"enzyme": "^3.10.0",
|
|
71
|
-
"react": "^
|
|
72
|
-
"react-dom": "^
|
|
71
|
+
"react": "^18.2.0",
|
|
72
|
+
"react-dom": "^18.2.0",
|
|
73
73
|
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
74
74
|
"typescript": "~5.4.2"
|
|
75
75
|
},
|