@atlaskit/media-avatar-picker 24.3.21 → 24.3.22
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,11 @@
|
|
|
1
1
|
# @atlaskit/media-avatar-picker
|
|
2
2
|
|
|
3
|
+
## 24.3.22
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#71706](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71706) [`9f5b710e6a66`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9f5b710e6a66) - [ux] fix dialog header style
|
|
8
|
+
|
|
3
9
|
## 24.3.21
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -7,9 +7,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.modalHeaderStyles = exports.formStyles = exports.croppingWrapperStyles = exports.avatarPickerViewWrapperStyles = exports.avatarPickerErrorStyles = void 0;
|
|
8
8
|
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
|
9
9
|
var _react = require("@emotion/react");
|
|
10
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4
|
|
10
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
11
11
|
var avatarPickerErrorStyles = exports.avatarPickerErrorStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n margin: 0 ", " ", ";\n"])), "var(--ds-space-200, 16px)", "var(--ds-space-200, 16px)");
|
|
12
12
|
var formStyles = exports.formStyles = (0, _react.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n margin: 0;\n"])));
|
|
13
13
|
var avatarPickerViewWrapperStyles = exports.avatarPickerViewWrapperStyles = (0, _react.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n justify-content: center;\n align-items: flex-start;\n text-align: center;\n min-height: 339px;\n"])));
|
|
14
|
-
var modalHeaderStyles = exports.modalHeaderStyles = (0, _react.css)(
|
|
15
|
-
|
|
14
|
+
var modalHeaderStyles = exports.modalHeaderStyles = (0, _react.css)({
|
|
15
|
+
// Using `&` twice to increase specificity
|
|
16
|
+
'&&': {
|
|
17
|
+
margin: "var(--ds-space-200, 16px)",
|
|
18
|
+
fontWeight: 500,
|
|
19
|
+
fontSize: '20px'
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
var croppingWrapperStyles = exports.croppingWrapperStyles = (0, _react.css)(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n display: inline-block;\n user-select: none;\n\n * {\n user-select: none;\n }\n"])));
|
|
@@ -12,11 +12,14 @@ export const avatarPickerViewWrapperStyles = css`
|
|
|
12
12
|
text-align: center;
|
|
13
13
|
min-height: 339px;
|
|
14
14
|
`;
|
|
15
|
-
export const modalHeaderStyles = css
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
export const modalHeaderStyles = css({
|
|
16
|
+
// Using `&` twice to increase specificity
|
|
17
|
+
'&&': {
|
|
18
|
+
margin: "var(--ds-space-200, 16px)",
|
|
19
|
+
fontWeight: 500,
|
|
20
|
+
fontSize: '20px'
|
|
21
|
+
}
|
|
22
|
+
});
|
|
20
23
|
export const croppingWrapperStyles = css`
|
|
21
24
|
display: inline-block;
|
|
22
25
|
user-select: none;
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
2
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4
|
|
2
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
3
3
|
import { css } from '@emotion/react';
|
|
4
4
|
export var avatarPickerErrorStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n margin: 0 ", " ", ";\n"])), "var(--ds-space-200, 16px)", "var(--ds-space-200, 16px)");
|
|
5
5
|
export var formStyles = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n margin: 0;\n"])));
|
|
6
6
|
export var avatarPickerViewWrapperStyles = css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: center;\n align-items: flex-start;\n text-align: center;\n min-height: 339px;\n"])));
|
|
7
|
-
export var modalHeaderStyles = css(
|
|
8
|
-
|
|
7
|
+
export var modalHeaderStyles = css({
|
|
8
|
+
// Using `&` twice to increase specificity
|
|
9
|
+
'&&': {
|
|
10
|
+
margin: "var(--ds-space-200, 16px)",
|
|
11
|
+
fontWeight: 500,
|
|
12
|
+
fontSize: '20px'
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export var croppingWrapperStyles = css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n display: inline-block;\n user-select: none;\n\n * {\n user-select: none;\n }\n"])));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-avatar-picker",
|
|
3
|
-
"version": "24.3.
|
|
3
|
+
"version": "24.3.22",
|
|
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/"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@atlaskit/button": "^17.
|
|
37
|
+
"@atlaskit/button": "^17.3.0",
|
|
38
38
|
"@atlaskit/flag": "^15.2.0",
|
|
39
39
|
"@atlaskit/icon": "^22.0.0",
|
|
40
40
|
"@atlaskit/media-ui": "^25.0.0",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@atlaskit/range": "^7.1.0",
|
|
43
43
|
"@atlaskit/spinner": "^16.0.0",
|
|
44
44
|
"@atlaskit/theme": "^12.6.0",
|
|
45
|
-
"@atlaskit/tokens": "^1.
|
|
45
|
+
"@atlaskit/tokens": "^1.35.0",
|
|
46
46
|
"@atlaskit/visually-hidden": "^1.2.0",
|
|
47
47
|
"@babel/runtime": "^7.0.0",
|
|
48
48
|
"exenv": "^1.2.2"
|