@atlaskit/media-avatar-picker 25.1.0 → 25.1.2
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 +12 -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.compiled.css +2 -2
- package/dist/cjs/image-navigator/index.js +3 -3
- 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.js +1 -1
- 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.compiled.css +2 -2
- package/dist/es2019/image-navigator/index.js +3 -3
- 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.js +1 -1
- 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.compiled.css +2 -2
- package/dist/esm/image-navigator/index.js +3 -3
- 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.js +1 -1
- 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 +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
._2hwx68s0{margin-right:var(--ds-space-150,10px)}
|
|
19
19
|
._2lx21bp4{flex-direction:column}
|
|
20
20
|
._2lx2vrvc{flex-direction:row}
|
|
21
|
-
.
|
|
21
|
+
._40631ntv input{box-sizing:content-box}
|
|
22
22
|
._4cvr1h6o{align-items:center}
|
|
23
23
|
._4t3i1k99{height:16pc}
|
|
24
24
|
._94n5idpf{bottom:0}
|
|
25
|
-
._bfhk18uv{background-color:initial}
|
|
26
25
|
._bfhk1bhr{background-color:var(--ds-surface-overlay,#fff)}
|
|
26
|
+
._bfhk1j28{background-color:transparent}
|
|
27
27
|
._kqsw1n9t{position:fixed}
|
|
28
28
|
._kqswh2mm{position:relative}
|
|
29
29
|
._kqswstnw{position:absolute}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.36.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -391,13 +391,13 @@ var ImageNavigator = exports.ImageNavigator = /*#__PURE__*/function (_Component)
|
|
|
391
391
|
onRemoveImage: onRemoveImage,
|
|
392
392
|
onImageError: onImageError
|
|
393
393
|
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
394
|
-
className: (0, _runtime.ax)(["_4cvr1h6o _1bah1h6o _1e0c1txw _2lx2vrvc _19pku2gc _bfhk1bhr _v69yidpf _ogxmidpf _1qtqidpf _n9z4idpf
|
|
394
|
+
className: (0, _runtime.ax)(["_4cvr1h6o _1bah1h6o _1e0c1txw _2lx2vrvc _19pku2gc _bfhk1bhr _v69yidpf _ogxmidpf _1qtqidpf _n9z4idpf _40631ntv"])
|
|
395
395
|
}, /*#__PURE__*/_react.default.createElement(_slider.Slider, {
|
|
396
396
|
value: scale,
|
|
397
397
|
onChange: this.onScaleChange
|
|
398
398
|
})), isDragging ? /*#__PURE__*/_react.default.createElement("div", {
|
|
399
399
|
"data-testid": "selection-blocker",
|
|
400
|
-
className: (0, _runtime.ax)(["_kqsw1n9t _1ltvidpf _154iidpf _1xi2idpf _94n5idpf
|
|
400
|
+
className: (0, _runtime.ax)(["_kqsw1n9t _1ltvidpf _154iidpf _1xi2idpf _94n5idpf _bfhk1j28 _uiztglyw"])
|
|
401
401
|
}) : null);
|
|
402
402
|
}
|
|
403
403
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* SubmitErrorDialog.tsx generated by @compiled/babel-plugin v0.36.
|
|
1
|
+
/* SubmitErrorDialog.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
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.36.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
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.36.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
import "./index.compiled.css";
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
._2hwx68s0{margin-right:var(--ds-space-150,10px)}
|
|
19
19
|
._2lx21bp4{flex-direction:column}
|
|
20
20
|
._2lx2vrvc{flex-direction:row}
|
|
21
|
-
.
|
|
21
|
+
._40631ntv input{box-sizing:content-box}
|
|
22
22
|
._4cvr1h6o{align-items:center}
|
|
23
23
|
._4t3i1k99{height:16pc}
|
|
24
24
|
._94n5idpf{bottom:0}
|
|
25
|
-
._bfhk18uv{background-color:initial}
|
|
26
25
|
._bfhk1bhr{background-color:var(--ds-surface-overlay,#fff)}
|
|
26
|
+
._bfhk1j28{background-color:transparent}
|
|
27
27
|
._kqsw1n9t{position:fixed}
|
|
28
28
|
._kqswh2mm{position:relative}
|
|
29
29
|
._kqswstnw{position:absolute}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.36.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import "./index.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -347,13 +347,13 @@ export class ImageNavigator extends Component {
|
|
|
347
347
|
onRemoveImage: onRemoveImage,
|
|
348
348
|
onImageError: onImageError
|
|
349
349
|
}), /*#__PURE__*/React.createElement("div", {
|
|
350
|
-
className: ax(["_4cvr1h6o _1bah1h6o _1e0c1txw _2lx2vrvc _19pku2gc _bfhk1bhr _v69yidpf _ogxmidpf _1qtqidpf _n9z4idpf
|
|
350
|
+
className: ax(["_4cvr1h6o _1bah1h6o _1e0c1txw _2lx2vrvc _19pku2gc _bfhk1bhr _v69yidpf _ogxmidpf _1qtqidpf _n9z4idpf _40631ntv"])
|
|
351
351
|
}, /*#__PURE__*/React.createElement(Slider, {
|
|
352
352
|
value: scale,
|
|
353
353
|
onChange: this.onScaleChange
|
|
354
354
|
})), isDragging ? /*#__PURE__*/React.createElement("div", {
|
|
355
355
|
"data-testid": "selection-blocker",
|
|
356
|
-
className: ax(["_kqsw1n9t _1ltvidpf _154iidpf _1xi2idpf _94n5idpf
|
|
356
|
+
className: ax(["_kqsw1n9t _1ltvidpf _154iidpf _1xi2idpf _94n5idpf _bfhk1j28 _uiztglyw"])
|
|
357
357
|
}) : null);
|
|
358
358
|
}
|
|
359
359
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* containerWrapper.tsx generated by @compiled/babel-plugin v0.36.
|
|
1
|
+
/* containerWrapper.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
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.36.
|
|
1
|
+
/* imagePlacerErrorWrapper.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
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.36.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
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
|
-
/* index.tsx generated by @compiled/babel-plugin v0.36.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
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.36.
|
|
1
|
+
/* SubmitErrorDialog.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
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.36.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
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.36.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
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.36.
|
|
1
|
+
/* dragZone.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
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"];
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
._2hwx68s0{margin-right:var(--ds-space-150,10px)}
|
|
19
19
|
._2lx21bp4{flex-direction:column}
|
|
20
20
|
._2lx2vrvc{flex-direction:row}
|
|
21
|
-
.
|
|
21
|
+
._40631ntv input{box-sizing:content-box}
|
|
22
22
|
._4cvr1h6o{align-items:center}
|
|
23
23
|
._4t3i1k99{height:16pc}
|
|
24
24
|
._94n5idpf{bottom:0}
|
|
25
|
-
._bfhk18uv{background-color:initial}
|
|
26
25
|
._bfhk1bhr{background-color:var(--ds-surface-overlay,#fff)}
|
|
26
|
+
._bfhk1j28{background-color:transparent}
|
|
27
27
|
._kqsw1n9t{position:fixed}
|
|
28
28
|
._kqswh2mm{position:relative}
|
|
29
29
|
._kqswstnw{position:absolute}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.36.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
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";
|
|
@@ -382,13 +382,13 @@ export var ImageNavigator = /*#__PURE__*/function (_Component) {
|
|
|
382
382
|
onRemoveImage: onRemoveImage,
|
|
383
383
|
onImageError: onImageError
|
|
384
384
|
}), /*#__PURE__*/React.createElement("div", {
|
|
385
|
-
className: ax(["_4cvr1h6o _1bah1h6o _1e0c1txw _2lx2vrvc _19pku2gc _bfhk1bhr _v69yidpf _ogxmidpf _1qtqidpf _n9z4idpf
|
|
385
|
+
className: ax(["_4cvr1h6o _1bah1h6o _1e0c1txw _2lx2vrvc _19pku2gc _bfhk1bhr _v69yidpf _ogxmidpf _1qtqidpf _n9z4idpf _40631ntv"])
|
|
386
386
|
}, /*#__PURE__*/React.createElement(Slider, {
|
|
387
387
|
value: scale,
|
|
388
388
|
onChange: this.onScaleChange
|
|
389
389
|
})), isDragging ? /*#__PURE__*/React.createElement("div", {
|
|
390
390
|
"data-testid": "selection-blocker",
|
|
391
|
-
className: ax(["_kqsw1n9t _1ltvidpf _154iidpf _1xi2idpf _94n5idpf
|
|
391
|
+
className: ax(["_kqsw1n9t _1ltvidpf _154iidpf _1xi2idpf _94n5idpf _bfhk1j28 _uiztglyw"])
|
|
392
392
|
}) : null);
|
|
393
393
|
}
|
|
394
394
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* slider.tsx generated by @compiled/babel-plugin v0.36.
|
|
1
|
+
/* slider.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
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.36.
|
|
1
|
+
/* containerWrapper.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
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.36.
|
|
1
|
+
/* imagePlacerErrorWrapper.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
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.36.
|
|
1
|
+
/* imageWrapper.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
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.36.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
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.36.
|
|
1
|
+
/* margin.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
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
|
-
/* index.tsx generated by @compiled/babel-plugin v0.36.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
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,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.1.
|
|
3
|
+
"version": "25.1.2",
|
|
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/"
|
|
@@ -28,25 +28,25 @@
|
|
|
28
28
|
".": "./src/index.tsx"
|
|
29
29
|
},
|
|
30
30
|
"atlassian": {
|
|
31
|
-
"team": "Media
|
|
31
|
+
"team": "Media Exif",
|
|
32
32
|
"website": {
|
|
33
33
|
"name": "Media Avatar Picker"
|
|
34
34
|
},
|
|
35
35
|
"runReact18": true
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@atlaskit/button": "^20.
|
|
38
|
+
"@atlaskit/button": "^20.5.0",
|
|
39
39
|
"@atlaskit/css": "^0.8.0",
|
|
40
40
|
"@atlaskit/flag": "^15.9.0",
|
|
41
41
|
"@atlaskit/form": "^11.1.0",
|
|
42
|
-
"@atlaskit/icon": "^23.
|
|
42
|
+
"@atlaskit/icon": "^23.9.0",
|
|
43
43
|
"@atlaskit/media-ui": "^27.4.0",
|
|
44
44
|
"@atlaskit/modal-dialog": "^12.20.0",
|
|
45
|
-
"@atlaskit/primitives": "^13.
|
|
45
|
+
"@atlaskit/primitives": "^13.5.0",
|
|
46
46
|
"@atlaskit/range": "^8.1.0",
|
|
47
47
|
"@atlaskit/spinner": "^17.1.0",
|
|
48
48
|
"@atlaskit/textfield": "^6.8.0",
|
|
49
|
-
"@atlaskit/theme": "^
|
|
49
|
+
"@atlaskit/theme": "^16.0.0",
|
|
50
50
|
"@atlaskit/tokens": "^3.3.0",
|
|
51
51
|
"@atlaskit/visually-hidden": "^1.6.0",
|
|
52
52
|
"@babel/runtime": "^7.0.0",
|