@atlaskit/avatar 25.11.0 → 25.11.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 +7 -0
- package/dist/cjs/avatar.js +1 -1
- package/dist/cjs/presence.js +6 -7
- package/dist/cjs/status.js +6 -7
- package/dist/es2019/avatar.js +1 -1
- package/dist/es2019/presence.js +6 -7
- package/dist/es2019/status.js +6 -7
- package/dist/esm/avatar.js +1 -1
- package/dist/esm/presence.js +6 -7
- package/dist/esm/status.js +6 -7
- package/package.json +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/avatar
|
|
2
2
|
|
|
3
|
+
## 25.11.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`7aef1e49e90ea`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7aef1e49e90ea) -
|
|
8
|
+
Removes redundant fallback color values via @atlaskit/theme
|
|
9
|
+
|
|
3
10
|
## 25.11.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
package/dist/cjs/avatar.js
CHANGED
|
@@ -26,7 +26,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
26
26
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
27
27
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
28
28
|
var packageName = "@atlaskit/avatar";
|
|
29
|
-
var packageVersion = "25.
|
|
29
|
+
var packageVersion = "25.11.1";
|
|
30
30
|
var containerStyles = null;
|
|
31
31
|
|
|
32
32
|
// eslint-disable-next-line @repo/internal/react/consistent-types-definitions
|
package/dist/cjs/presence.js
CHANGED
|
@@ -10,31 +10,30 @@ exports.default = void 0;
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
var React = _react;
|
|
12
12
|
var _runtime = require("@compiled/react/runtime");
|
|
13
|
-
var _colors = require("@atlaskit/theme/colors");
|
|
14
13
|
var _iconWrapper = _interopRequireDefault(require("./internal/icon-wrapper"));
|
|
15
14
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
16
15
|
var BusyIndicator = /*#__PURE__*/React.createElement(_react.Fragment, null, /*#__PURE__*/React.createElement("circle", {
|
|
17
|
-
fill: "var(--ds-icon-danger,
|
|
16
|
+
fill: "var(--ds-icon-danger, #C9372C)",
|
|
18
17
|
cx: "4",
|
|
19
18
|
cy: "4",
|
|
20
19
|
r: "4"
|
|
21
20
|
}), /*#__PURE__*/React.createElement("path", {
|
|
22
|
-
fill: "var(--ds-surface-overlay,
|
|
21
|
+
fill: "var(--ds-surface-overlay, #FFFFFF)",
|
|
23
22
|
d: "M3.3,1.9l2.8,2.8c0.2,0.2,0.2,0.5,0,0.7L5.4,6.1c-0.2,0.2-0.5,0.2-0.7,0L1.9,3.3c-0.2-0.2-0.2-0.5,0-0.7l0.7-0.7C2.8,1.7,3.1,1.7,3.3,1.9z"
|
|
24
23
|
}));
|
|
25
24
|
var FocusIndicator = /*#__PURE__*/React.createElement(_react.Fragment, null, /*#__PURE__*/React.createElement("path", {
|
|
26
|
-
fill: "var(--ds-icon-discovery,
|
|
25
|
+
fill: "var(--ds-icon-discovery, #AF59E1)",
|
|
27
26
|
d: "M4,8 C1.790861,8 0,6.209139 0,4 C0,1.790861 1.790861,0 4,0 C6.209139,0 8,1.790861 8,4 C8,6.209139 6.209139,8 4,8 Z M4,6.66666667 C5.47275933,6.66666667 6.66666667,5.47275933 6.66666667,4 C6.66666667,2.52724067 5.47275933,1.33333333 4,1.33333333 C2.52724067,1.33333333 1.33333333,2.52724067 1.33333333,4 C1.33333333,5.47275933 2.52724067,6.66666667 4,6.66666667 Z M4,5.33333333 C3.26362033,5.33333333 2.66666667,4.73637967 2.66666667,4 C2.66666667,3.26362033 3.26362033,2.66666667 4,2.66666667 C4.73637967,2.66666667 5.33333333,3.26362033 5.33333333,4 C5.33333333,4.73637967 4.73637967,5.33333333 4,5.33333333 Z"
|
|
28
27
|
}));
|
|
29
28
|
var OfflineIndicator = /*#__PURE__*/React.createElement(_react.Fragment, null, /*#__PURE__*/React.createElement("path", {
|
|
30
|
-
fill: "var(--ds-text-subtlest,
|
|
29
|
+
fill: "var(--ds-text-subtlest, #6B6E76)",
|
|
31
30
|
d: "M4,8 C6.209139,8 8,6.209139 8,4 C8,1.790861 6.209139,0 4,0 C1.790861,0 0,1.790861 0,4 C0,6.209139 1.790861,8 4,8 Z M4,6 C5.1045695,6 6,5.1045695 6,4 C6,2.8954305 5.1045695,2 4,2 C2.8954305,2 2,2.8954305 2,4 C2,5.1045695 2.8954305,6 4,6 Z"
|
|
32
31
|
}), /*#__PURE__*/React.createElement("path", {
|
|
33
|
-
fill: "var(--ds-surface-overlay,
|
|
32
|
+
fill: "var(--ds-surface-overlay, #FFFFFF)",
|
|
34
33
|
d: "M4,6 C5.1045695,6 6,5.1045695 6,4 C6,2.8954305 5.1045695,2 4,2 C2.8954305,2 2,2.8954305 2,4 C2,5.1045695 2.8954305,6 4,6 Z"
|
|
35
34
|
}));
|
|
36
35
|
var OnlineIndicator = /*#__PURE__*/React.createElement("circle", {
|
|
37
|
-
fill: "var(--ds-icon-success,
|
|
36
|
+
fill: "var(--ds-icon-success, #6A9A23)",
|
|
38
37
|
cx: "4",
|
|
39
38
|
cy: "4",
|
|
40
39
|
r: "4"
|
package/dist/cjs/status.js
CHANGED
|
@@ -10,34 +10,33 @@ exports.default = void 0;
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
var React = _react;
|
|
12
12
|
var _runtime = require("@compiled/react/runtime");
|
|
13
|
-
var _colors = require("@atlaskit/theme/colors");
|
|
14
13
|
var _iconWrapper = _interopRequireDefault(require("./internal/icon-wrapper"));
|
|
15
14
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
16
15
|
var ApprovedIndicator = /*#__PURE__*/React.createElement(_react.Fragment, null, /*#__PURE__*/React.createElement("circle", {
|
|
17
|
-
fill: "var(--ds-icon-success,
|
|
16
|
+
fill: "var(--ds-icon-success, #6A9A23)",
|
|
18
17
|
cx: "4",
|
|
19
18
|
cy: "4",
|
|
20
19
|
r: "4"
|
|
21
20
|
}), /*#__PURE__*/React.createElement("path", {
|
|
22
|
-
fill: "var(--ds-surface-overlay,
|
|
21
|
+
fill: "var(--ds-surface-overlay, #FFFFFF)",
|
|
23
22
|
d: "M2.47140452,3.52859548 C2.21105499,3.26824595 1.78894501,3.26824595 1.52859548,3.52859548 C1.26824595,3.78894501 1.26824595,4.21105499 1.52859548,4.47140452 L2.86192881,5.80473785 C3.12227834,6.06508738 3.54438833,6.06508738 3.80473785,5.80473785 L6.47140452,3.13807119 C6.73175405,2.87772166 6.73175405,2.45561167 6.47140452,2.19526215 C6.21105499,1.93491262 5.78894501,1.93491262 5.52859548,2.19526215 L3.33333333,4.39052429 L2.47140452,3.52859548 Z"
|
|
24
23
|
}));
|
|
25
24
|
var DeclinedIndicator = /*#__PURE__*/React.createElement(_react.Fragment, null, /*#__PURE__*/React.createElement("circle", {
|
|
26
|
-
fill: "var(--ds-icon-danger,
|
|
25
|
+
fill: "var(--ds-icon-danger, #C9372C)",
|
|
27
26
|
cx: "4",
|
|
28
27
|
cy: "4",
|
|
29
28
|
r: "4"
|
|
30
29
|
}), /*#__PURE__*/React.createElement("path", {
|
|
31
|
-
fill: "var(--ds-surface-overlay,
|
|
30
|
+
fill: "var(--ds-surface-overlay, #FFFFFF)",
|
|
32
31
|
d: "M4.890661,4.0088336 L5.81806461,3.07802178 C6.06167933,2.83351177 6.06048933,2.43826992 5.81540668,2.19522442 C5.57032402,1.95217891 5.17415651,1.95336612 4.93054179,2.19787613 L4.00765946,3.12415007 L3.06906871,2.18377143 C2.82523777,1.93947602 2.42906937,1.93863765 2.18420182,2.18189887 C1.93933427,2.42516008 1.93849394,2.82040282 2.18232488,3.06469822 L3.12544091,4.00961077 L2.20275024,4.93569234 C1.95913552,5.18020236 1.96032551,5.5754442 2.20540817,5.81848971 C2.45049083,6.06153521 2.84665833,6.060348 3.09027306,5.81583799 L4.00844245,4.89429431 L4.9092123,5.79678001 C5.15304324,6.04107541 5.54921164,6.04191379 5.79407919,5.79865257 C6.03894674,5.55539135 6.03978708,5.16014862 5.79595614,4.91585321 L4.890661,4.0088336 Z"
|
|
33
32
|
}));
|
|
34
33
|
var LockedIndicator = /*#__PURE__*/React.createElement(_react.Fragment, null, /*#__PURE__*/React.createElement("circle", {
|
|
35
|
-
fill: "var(--ds-text-subtlest,
|
|
34
|
+
fill: "var(--ds-text-subtlest, #6B6E76)",
|
|
36
35
|
cx: "4",
|
|
37
36
|
cy: "4",
|
|
38
37
|
r: "4"
|
|
39
38
|
}), /*#__PURE__*/React.createElement("path", {
|
|
40
|
-
fill: "var(--ds-surface-overlay,
|
|
39
|
+
fill: "var(--ds-surface-overlay, #FFFFFF)",
|
|
41
40
|
d: "M4.13074827,1.21766493 L4.10368158,1.21766493 C3.36340745,1.21766493 2.76388015,1.80793503 2.76388015,2.5367787 L2.76388015,3.21632216 L3.44054754,3.21632216 L3.44054754,2.54344089 C3.44054754,2.17901906 3.74031119,1.88388401 4.11044825,1.88388401 L4.1239816,1.88388401 C4.49411866,1.88388401 4.79388232,2.17901906 4.79388232,2.54344089 L4.79388232,3.21632216 L5.47054971,3.21632216 L5.47054971,2.5367787 C5.47054971,1.80793503 4.8710224,1.21766493 4.13074827,1.21766493 M2.76388015,3.21632216 L3.44054754,3.21632216 L3.44054754,3.88254123 L2.76388015,3.88254123 L2.76388015,3.21632216 Z M4.79388232,3.21632216 L5.47054971,3.21632216 L5.47054971,3.88254123 L4.79388232,3.88254123 L4.79388232,3.21632216 Z M4.79401765,3.88254123 L3.44068287,3.88254123 L2.76401548,3.88254123 C2.39049508,3.88254123 2.08734809,4.18100738 2.08734809,4.54876031 L2.08734809,5.54808892 C2.08734809,6.10000287 2.53735205,6.54741753 3.09094491,6.54741753 L5.14375561,6.54741753 C5.69802683,6.54741753 6.14735243,6.10385072 6.14735243,5.54808892 L6.14735243,4.54876031 C6.14735243,4.18100738 5.84420544,3.88254123 5.47068504,3.88254123 L4.79401765,3.88254123 Z"
|
|
42
41
|
}));
|
|
43
42
|
function getStatus(status) {
|
package/dist/es2019/avatar.js
CHANGED
|
@@ -14,7 +14,7 @@ import getCustomElement from './internal/get-custom-element';
|
|
|
14
14
|
import PresenceWrapper from './internal/presence-wrapper';
|
|
15
15
|
import StatusWrapper from './internal/status-wrapper';
|
|
16
16
|
const packageName = "@atlaskit/avatar";
|
|
17
|
-
const packageVersion = "25.
|
|
17
|
+
const packageVersion = "25.11.1";
|
|
18
18
|
const containerStyles = null;
|
|
19
19
|
|
|
20
20
|
// eslint-disable-next-line @repo/internal/react/consistent-types-definitions
|
package/dist/es2019/presence.js
CHANGED
|
@@ -2,30 +2,29 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import { Fragment } from 'react';
|
|
5
|
-
import { G300, N0, N200, N40, P300, R300 } from '@atlaskit/theme/colors';
|
|
6
5
|
import IconWrapper from './internal/icon-wrapper';
|
|
7
6
|
const BusyIndicator = /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("circle", {
|
|
8
|
-
fill:
|
|
7
|
+
fill: "var(--ds-icon-danger, #C9372C)",
|
|
9
8
|
cx: "4",
|
|
10
9
|
cy: "4",
|
|
11
10
|
r: "4"
|
|
12
11
|
}), /*#__PURE__*/React.createElement("path", {
|
|
13
|
-
fill:
|
|
12
|
+
fill: "var(--ds-surface-overlay, #FFFFFF)",
|
|
14
13
|
d: "M3.3,1.9l2.8,2.8c0.2,0.2,0.2,0.5,0,0.7L5.4,6.1c-0.2,0.2-0.5,0.2-0.7,0L1.9,3.3c-0.2-0.2-0.2-0.5,0-0.7l0.7-0.7C2.8,1.7,3.1,1.7,3.3,1.9z"
|
|
15
14
|
}));
|
|
16
15
|
const FocusIndicator = /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("path", {
|
|
17
|
-
fill:
|
|
16
|
+
fill: "var(--ds-icon-discovery, #AF59E1)",
|
|
18
17
|
d: "M4,8 C1.790861,8 0,6.209139 0,4 C0,1.790861 1.790861,0 4,0 C6.209139,0 8,1.790861 8,4 C8,6.209139 6.209139,8 4,8 Z M4,6.66666667 C5.47275933,6.66666667 6.66666667,5.47275933 6.66666667,4 C6.66666667,2.52724067 5.47275933,1.33333333 4,1.33333333 C2.52724067,1.33333333 1.33333333,2.52724067 1.33333333,4 C1.33333333,5.47275933 2.52724067,6.66666667 4,6.66666667 Z M4,5.33333333 C3.26362033,5.33333333 2.66666667,4.73637967 2.66666667,4 C2.66666667,3.26362033 3.26362033,2.66666667 4,2.66666667 C4.73637967,2.66666667 5.33333333,3.26362033 5.33333333,4 C5.33333333,4.73637967 4.73637967,5.33333333 4,5.33333333 Z"
|
|
19
18
|
}));
|
|
20
19
|
const OfflineIndicator = /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("path", {
|
|
21
|
-
fill:
|
|
20
|
+
fill: "var(--ds-text-subtlest, #6B6E76)",
|
|
22
21
|
d: "M4,8 C6.209139,8 8,6.209139 8,4 C8,1.790861 6.209139,0 4,0 C1.790861,0 0,1.790861 0,4 C0,6.209139 1.790861,8 4,8 Z M4,6 C5.1045695,6 6,5.1045695 6,4 C6,2.8954305 5.1045695,2 4,2 C2.8954305,2 2,2.8954305 2,4 C2,5.1045695 2.8954305,6 4,6 Z"
|
|
23
22
|
}), /*#__PURE__*/React.createElement("path", {
|
|
24
|
-
fill:
|
|
23
|
+
fill: "var(--ds-surface-overlay, #FFFFFF)",
|
|
25
24
|
d: "M4,6 C5.1045695,6 6,5.1045695 6,4 C6,2.8954305 5.1045695,2 4,2 C2.8954305,2 2,2.8954305 2,4 C2,5.1045695 2.8954305,6 4,6 Z"
|
|
26
25
|
}));
|
|
27
26
|
const OnlineIndicator = /*#__PURE__*/React.createElement("circle", {
|
|
28
|
-
fill:
|
|
27
|
+
fill: "var(--ds-icon-success, #6A9A23)",
|
|
29
28
|
cx: "4",
|
|
30
29
|
cy: "4",
|
|
31
30
|
r: "4"
|
package/dist/es2019/status.js
CHANGED
|
@@ -2,33 +2,32 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import { Fragment } from 'react';
|
|
5
|
-
import { G400, N0, N40, N500, R400 } from '@atlaskit/theme/colors';
|
|
6
5
|
import IconWrapper from './internal/icon-wrapper';
|
|
7
6
|
const ApprovedIndicator = /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("circle", {
|
|
8
|
-
fill:
|
|
7
|
+
fill: "var(--ds-icon-success, #6A9A23)",
|
|
9
8
|
cx: "4",
|
|
10
9
|
cy: "4",
|
|
11
10
|
r: "4"
|
|
12
11
|
}), /*#__PURE__*/React.createElement("path", {
|
|
13
|
-
fill:
|
|
12
|
+
fill: "var(--ds-surface-overlay, #FFFFFF)",
|
|
14
13
|
d: "M2.47140452,3.52859548 C2.21105499,3.26824595 1.78894501,3.26824595 1.52859548,3.52859548 C1.26824595,3.78894501 1.26824595,4.21105499 1.52859548,4.47140452 L2.86192881,5.80473785 C3.12227834,6.06508738 3.54438833,6.06508738 3.80473785,5.80473785 L6.47140452,3.13807119 C6.73175405,2.87772166 6.73175405,2.45561167 6.47140452,2.19526215 C6.21105499,1.93491262 5.78894501,1.93491262 5.52859548,2.19526215 L3.33333333,4.39052429 L2.47140452,3.52859548 Z"
|
|
15
14
|
}));
|
|
16
15
|
const DeclinedIndicator = /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("circle", {
|
|
17
|
-
fill:
|
|
16
|
+
fill: "var(--ds-icon-danger, #C9372C)",
|
|
18
17
|
cx: "4",
|
|
19
18
|
cy: "4",
|
|
20
19
|
r: "4"
|
|
21
20
|
}), /*#__PURE__*/React.createElement("path", {
|
|
22
|
-
fill:
|
|
21
|
+
fill: "var(--ds-surface-overlay, #FFFFFF)",
|
|
23
22
|
d: "M4.890661,4.0088336 L5.81806461,3.07802178 C6.06167933,2.83351177 6.06048933,2.43826992 5.81540668,2.19522442 C5.57032402,1.95217891 5.17415651,1.95336612 4.93054179,2.19787613 L4.00765946,3.12415007 L3.06906871,2.18377143 C2.82523777,1.93947602 2.42906937,1.93863765 2.18420182,2.18189887 C1.93933427,2.42516008 1.93849394,2.82040282 2.18232488,3.06469822 L3.12544091,4.00961077 L2.20275024,4.93569234 C1.95913552,5.18020236 1.96032551,5.5754442 2.20540817,5.81848971 C2.45049083,6.06153521 2.84665833,6.060348 3.09027306,5.81583799 L4.00844245,4.89429431 L4.9092123,5.79678001 C5.15304324,6.04107541 5.54921164,6.04191379 5.79407919,5.79865257 C6.03894674,5.55539135 6.03978708,5.16014862 5.79595614,4.91585321 L4.890661,4.0088336 Z"
|
|
24
23
|
}));
|
|
25
24
|
const LockedIndicator = /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("circle", {
|
|
26
|
-
fill:
|
|
25
|
+
fill: "var(--ds-text-subtlest, #6B6E76)",
|
|
27
26
|
cx: "4",
|
|
28
27
|
cy: "4",
|
|
29
28
|
r: "4"
|
|
30
29
|
}), /*#__PURE__*/React.createElement("path", {
|
|
31
|
-
fill:
|
|
30
|
+
fill: "var(--ds-surface-overlay, #FFFFFF)",
|
|
32
31
|
d: "M4.13074827,1.21766493 L4.10368158,1.21766493 C3.36340745,1.21766493 2.76388015,1.80793503 2.76388015,2.5367787 L2.76388015,3.21632216 L3.44054754,3.21632216 L3.44054754,2.54344089 C3.44054754,2.17901906 3.74031119,1.88388401 4.11044825,1.88388401 L4.1239816,1.88388401 C4.49411866,1.88388401 4.79388232,2.17901906 4.79388232,2.54344089 L4.79388232,3.21632216 L5.47054971,3.21632216 L5.47054971,2.5367787 C5.47054971,1.80793503 4.8710224,1.21766493 4.13074827,1.21766493 M2.76388015,3.21632216 L3.44054754,3.21632216 L3.44054754,3.88254123 L2.76388015,3.88254123 L2.76388015,3.21632216 Z M4.79388232,3.21632216 L5.47054971,3.21632216 L5.47054971,3.88254123 L4.79388232,3.88254123 L4.79388232,3.21632216 Z M4.79401765,3.88254123 L3.44068287,3.88254123 L2.76401548,3.88254123 C2.39049508,3.88254123 2.08734809,4.18100738 2.08734809,4.54876031 L2.08734809,5.54808892 C2.08734809,6.10000287 2.53735205,6.54741753 3.09094491,6.54741753 L5.14375561,6.54741753 C5.69802683,6.54741753 6.14735243,6.10385072 6.14735243,5.54808892 L6.14735243,4.54876031 C6.14735243,4.18100738 5.84420544,3.88254123 5.47068504,3.88254123 L4.79401765,3.88254123 Z"
|
|
33
32
|
}));
|
|
34
33
|
function getStatus(status) {
|
package/dist/esm/avatar.js
CHANGED
|
@@ -17,7 +17,7 @@ import getCustomElement from './internal/get-custom-element';
|
|
|
17
17
|
import PresenceWrapper from './internal/presence-wrapper';
|
|
18
18
|
import StatusWrapper from './internal/status-wrapper';
|
|
19
19
|
var packageName = "@atlaskit/avatar";
|
|
20
|
-
var packageVersion = "25.
|
|
20
|
+
var packageVersion = "25.11.1";
|
|
21
21
|
var containerStyles = null;
|
|
22
22
|
|
|
23
23
|
// eslint-disable-next-line @repo/internal/react/consistent-types-definitions
|
package/dist/esm/presence.js
CHANGED
|
@@ -2,30 +2,29 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import { Fragment } from 'react';
|
|
5
|
-
import { G300, N0, N200, N40, P300, R300 } from '@atlaskit/theme/colors';
|
|
6
5
|
import IconWrapper from './internal/icon-wrapper';
|
|
7
6
|
var BusyIndicator = /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("circle", {
|
|
8
|
-
fill: "var(--ds-icon-danger,
|
|
7
|
+
fill: "var(--ds-icon-danger, #C9372C)",
|
|
9
8
|
cx: "4",
|
|
10
9
|
cy: "4",
|
|
11
10
|
r: "4"
|
|
12
11
|
}), /*#__PURE__*/React.createElement("path", {
|
|
13
|
-
fill: "var(--ds-surface-overlay,
|
|
12
|
+
fill: "var(--ds-surface-overlay, #FFFFFF)",
|
|
14
13
|
d: "M3.3,1.9l2.8,2.8c0.2,0.2,0.2,0.5,0,0.7L5.4,6.1c-0.2,0.2-0.5,0.2-0.7,0L1.9,3.3c-0.2-0.2-0.2-0.5,0-0.7l0.7-0.7C2.8,1.7,3.1,1.7,3.3,1.9z"
|
|
15
14
|
}));
|
|
16
15
|
var FocusIndicator = /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("path", {
|
|
17
|
-
fill: "var(--ds-icon-discovery,
|
|
16
|
+
fill: "var(--ds-icon-discovery, #AF59E1)",
|
|
18
17
|
d: "M4,8 C1.790861,8 0,6.209139 0,4 C0,1.790861 1.790861,0 4,0 C6.209139,0 8,1.790861 8,4 C8,6.209139 6.209139,8 4,8 Z M4,6.66666667 C5.47275933,6.66666667 6.66666667,5.47275933 6.66666667,4 C6.66666667,2.52724067 5.47275933,1.33333333 4,1.33333333 C2.52724067,1.33333333 1.33333333,2.52724067 1.33333333,4 C1.33333333,5.47275933 2.52724067,6.66666667 4,6.66666667 Z M4,5.33333333 C3.26362033,5.33333333 2.66666667,4.73637967 2.66666667,4 C2.66666667,3.26362033 3.26362033,2.66666667 4,2.66666667 C4.73637967,2.66666667 5.33333333,3.26362033 5.33333333,4 C5.33333333,4.73637967 4.73637967,5.33333333 4,5.33333333 Z"
|
|
19
18
|
}));
|
|
20
19
|
var OfflineIndicator = /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("path", {
|
|
21
|
-
fill: "var(--ds-text-subtlest,
|
|
20
|
+
fill: "var(--ds-text-subtlest, #6B6E76)",
|
|
22
21
|
d: "M4,8 C6.209139,8 8,6.209139 8,4 C8,1.790861 6.209139,0 4,0 C1.790861,0 0,1.790861 0,4 C0,6.209139 1.790861,8 4,8 Z M4,6 C5.1045695,6 6,5.1045695 6,4 C6,2.8954305 5.1045695,2 4,2 C2.8954305,2 2,2.8954305 2,4 C2,5.1045695 2.8954305,6 4,6 Z"
|
|
23
22
|
}), /*#__PURE__*/React.createElement("path", {
|
|
24
|
-
fill: "var(--ds-surface-overlay,
|
|
23
|
+
fill: "var(--ds-surface-overlay, #FFFFFF)",
|
|
25
24
|
d: "M4,6 C5.1045695,6 6,5.1045695 6,4 C6,2.8954305 5.1045695,2 4,2 C2.8954305,2 2,2.8954305 2,4 C2,5.1045695 2.8954305,6 4,6 Z"
|
|
26
25
|
}));
|
|
27
26
|
var OnlineIndicator = /*#__PURE__*/React.createElement("circle", {
|
|
28
|
-
fill: "var(--ds-icon-success,
|
|
27
|
+
fill: "var(--ds-icon-success, #6A9A23)",
|
|
29
28
|
cx: "4",
|
|
30
29
|
cy: "4",
|
|
31
30
|
r: "4"
|
package/dist/esm/status.js
CHANGED
|
@@ -2,33 +2,32 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import { Fragment } from 'react';
|
|
5
|
-
import { G400, N0, N40, N500, R400 } from '@atlaskit/theme/colors';
|
|
6
5
|
import IconWrapper from './internal/icon-wrapper';
|
|
7
6
|
var ApprovedIndicator = /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("circle", {
|
|
8
|
-
fill: "var(--ds-icon-success,
|
|
7
|
+
fill: "var(--ds-icon-success, #6A9A23)",
|
|
9
8
|
cx: "4",
|
|
10
9
|
cy: "4",
|
|
11
10
|
r: "4"
|
|
12
11
|
}), /*#__PURE__*/React.createElement("path", {
|
|
13
|
-
fill: "var(--ds-surface-overlay,
|
|
12
|
+
fill: "var(--ds-surface-overlay, #FFFFFF)",
|
|
14
13
|
d: "M2.47140452,3.52859548 C2.21105499,3.26824595 1.78894501,3.26824595 1.52859548,3.52859548 C1.26824595,3.78894501 1.26824595,4.21105499 1.52859548,4.47140452 L2.86192881,5.80473785 C3.12227834,6.06508738 3.54438833,6.06508738 3.80473785,5.80473785 L6.47140452,3.13807119 C6.73175405,2.87772166 6.73175405,2.45561167 6.47140452,2.19526215 C6.21105499,1.93491262 5.78894501,1.93491262 5.52859548,2.19526215 L3.33333333,4.39052429 L2.47140452,3.52859548 Z"
|
|
15
14
|
}));
|
|
16
15
|
var DeclinedIndicator = /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("circle", {
|
|
17
|
-
fill: "var(--ds-icon-danger,
|
|
16
|
+
fill: "var(--ds-icon-danger, #C9372C)",
|
|
18
17
|
cx: "4",
|
|
19
18
|
cy: "4",
|
|
20
19
|
r: "4"
|
|
21
20
|
}), /*#__PURE__*/React.createElement("path", {
|
|
22
|
-
fill: "var(--ds-surface-overlay,
|
|
21
|
+
fill: "var(--ds-surface-overlay, #FFFFFF)",
|
|
23
22
|
d: "M4.890661,4.0088336 L5.81806461,3.07802178 C6.06167933,2.83351177 6.06048933,2.43826992 5.81540668,2.19522442 C5.57032402,1.95217891 5.17415651,1.95336612 4.93054179,2.19787613 L4.00765946,3.12415007 L3.06906871,2.18377143 C2.82523777,1.93947602 2.42906937,1.93863765 2.18420182,2.18189887 C1.93933427,2.42516008 1.93849394,2.82040282 2.18232488,3.06469822 L3.12544091,4.00961077 L2.20275024,4.93569234 C1.95913552,5.18020236 1.96032551,5.5754442 2.20540817,5.81848971 C2.45049083,6.06153521 2.84665833,6.060348 3.09027306,5.81583799 L4.00844245,4.89429431 L4.9092123,5.79678001 C5.15304324,6.04107541 5.54921164,6.04191379 5.79407919,5.79865257 C6.03894674,5.55539135 6.03978708,5.16014862 5.79595614,4.91585321 L4.890661,4.0088336 Z"
|
|
24
23
|
}));
|
|
25
24
|
var LockedIndicator = /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("circle", {
|
|
26
|
-
fill: "var(--ds-text-subtlest,
|
|
25
|
+
fill: "var(--ds-text-subtlest, #6B6E76)",
|
|
27
26
|
cx: "4",
|
|
28
27
|
cy: "4",
|
|
29
28
|
r: "4"
|
|
30
29
|
}), /*#__PURE__*/React.createElement("path", {
|
|
31
|
-
fill: "var(--ds-surface-overlay,
|
|
30
|
+
fill: "var(--ds-surface-overlay, #FFFFFF)",
|
|
32
31
|
d: "M4.13074827,1.21766493 L4.10368158,1.21766493 C3.36340745,1.21766493 2.76388015,1.80793503 2.76388015,2.5367787 L2.76388015,3.21632216 L3.44054754,3.21632216 L3.44054754,2.54344089 C3.44054754,2.17901906 3.74031119,1.88388401 4.11044825,1.88388401 L4.1239816,1.88388401 C4.49411866,1.88388401 4.79388232,2.17901906 4.79388232,2.54344089 L4.79388232,3.21632216 L5.47054971,3.21632216 L5.47054971,2.5367787 C5.47054971,1.80793503 4.8710224,1.21766493 4.13074827,1.21766493 M2.76388015,3.21632216 L3.44054754,3.21632216 L3.44054754,3.88254123 L2.76388015,3.88254123 L2.76388015,3.21632216 Z M4.79388232,3.21632216 L5.47054971,3.21632216 L5.47054971,3.88254123 L4.79388232,3.88254123 L4.79388232,3.21632216 Z M4.79401765,3.88254123 L3.44068287,3.88254123 L2.76401548,3.88254123 C2.39049508,3.88254123 2.08734809,4.18100738 2.08734809,4.54876031 L2.08734809,5.54808892 C2.08734809,6.10000287 2.53735205,6.54741753 3.09094491,6.54741753 L5.14375561,6.54741753 C5.69802683,6.54741753 6.14735243,6.10385072 6.14735243,5.54808892 L6.14735243,4.54876031 C6.14735243,4.18100738 5.84420544,3.88254123 5.47068504,3.88254123 L4.79401765,3.88254123 Z"
|
|
33
32
|
}));
|
|
34
33
|
function getStatus(status) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/avatar",
|
|
3
|
-
"version": "25.11.
|
|
3
|
+
"version": "25.11.1",
|
|
4
4
|
"description": "An avatar is a visual representation of a user or entity.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -38,7 +38,6 @@
|
|
|
38
38
|
"@atlaskit/icon": "^33.1.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
40
40
|
"@atlaskit/primitives": "^18.1.0",
|
|
41
|
-
"@atlaskit/theme": "^22.0.0",
|
|
42
41
|
"@atlaskit/tokens": "^11.4.0",
|
|
43
42
|
"@babel/runtime": "^7.0.0",
|
|
44
43
|
"@compiled/react": "^0.20.0"
|