@atlaskit/modal-dialog 14.9.0 → 14.9.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 +14 -0
- package/dist/cjs/modal-title.js +3 -3
- package/dist/es2019/modal-title.js +2 -2
- package/dist/esm/modal-title.js +2 -2
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/modal-dialog
|
|
2
2
|
|
|
3
|
+
## 14.9.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`d14ea5f60b689`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d14ea5f60b689) -
|
|
8
|
+
chore: migrate platform UI & component libraries icon imports from migration paths to core
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 14.9.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 14.9.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
package/dist/cjs/modal-title.js
CHANGED
|
@@ -10,8 +10,8 @@ exports.default = void 0;
|
|
|
10
10
|
require("./modal-title.compiled.css");
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _runtime = require("@compiled/react/runtime");
|
|
13
|
-
var
|
|
14
|
-
var
|
|
13
|
+
var _statusError = _interopRequireDefault(require("@atlaskit/icon/core/status-error"));
|
|
14
|
+
var _statusWarning = _interopRequireDefault(require("@atlaskit/icon/core/status-warning"));
|
|
15
15
|
var _hooks = require("./hooks");
|
|
16
16
|
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); }
|
|
17
17
|
var iconColor = {
|
|
@@ -24,7 +24,7 @@ var textStyles = null;
|
|
|
24
24
|
var truncatedTextStyles = null;
|
|
25
25
|
var TitleIcon = function TitleIcon(_ref) {
|
|
26
26
|
var appearance = _ref.appearance;
|
|
27
|
-
var Icon = appearance === 'danger' ?
|
|
27
|
+
var Icon = appearance === 'danger' ? _statusError.default : _statusWarning.default;
|
|
28
28
|
return /*#__PURE__*/React.createElement("span", {
|
|
29
29
|
className: (0, _runtime.ax)(["_16jlidpf _1o9zidpf _i0dl1wug _syaz1kw7 _1wyb1kw7 _zg8l1kw7 _k48p1kw7 _1dyz1kw7 _vwz41kw7"])
|
|
30
30
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import "./modal-title.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
-
import ErrorIcon from '@atlaskit/icon/core/
|
|
6
|
-
import WarningIcon from '@atlaskit/icon/core/
|
|
5
|
+
import ErrorIcon from '@atlaskit/icon/core/status-error';
|
|
6
|
+
import WarningIcon from '@atlaskit/icon/core/status-warning';
|
|
7
7
|
import { useModal } from './hooks';
|
|
8
8
|
const iconColor = {
|
|
9
9
|
danger: "var(--ds-icon-danger, #C9372C)",
|
package/dist/esm/modal-title.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import "./modal-title.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
-
import ErrorIcon from '@atlaskit/icon/core/
|
|
6
|
-
import WarningIcon from '@atlaskit/icon/core/
|
|
5
|
+
import ErrorIcon from '@atlaskit/icon/core/status-error';
|
|
6
|
+
import WarningIcon from '@atlaskit/icon/core/status-warning';
|
|
7
7
|
import { useModal } from './hooks';
|
|
8
8
|
var iconColor = {
|
|
9
9
|
danger: "var(--ds-icon-danger, #C9372C)",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/modal-dialog",
|
|
3
|
-
"version": "14.9.
|
|
3
|
+
"version": "14.9.2",
|
|
4
4
|
"description": "A modal dialog displays content that requires user interaction, in a layer above the page.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
31
31
|
"@atlaskit/blanket": "^15.0.0",
|
|
32
|
-
"@atlaskit/button": "^23.
|
|
33
|
-
"@atlaskit/css": "^0.
|
|
32
|
+
"@atlaskit/button": "^23.8.0",
|
|
33
|
+
"@atlaskit/css": "^0.18.0",
|
|
34
34
|
"@atlaskit/ds-lib": "^5.3.0",
|
|
35
|
-
"@atlaskit/icon": "^29.
|
|
35
|
+
"@atlaskit/icon": "^29.3.0",
|
|
36
36
|
"@atlaskit/layering": "^3.4.0",
|
|
37
37
|
"@atlaskit/motion": "^5.3.0",
|
|
38
38
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@atlaskit/pragmatic-drag-and-drop": "^1.7.0",
|
|
41
41
|
"@atlaskit/primitives": "^16.4.0",
|
|
42
42
|
"@atlaskit/theme": "^21.0.0",
|
|
43
|
-
"@atlaskit/tokens": "^8.
|
|
43
|
+
"@atlaskit/tokens": "^8.6.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|
|
45
45
|
"@compiled/react": "^0.18.6",
|
|
46
46
|
"bind-event-listener": "^3.0.0",
|
|
@@ -64,14 +64,14 @@
|
|
|
64
64
|
"@atlaskit/datetime-picker": "^17.2.0",
|
|
65
65
|
"@atlaskit/docs": "^11.2.0",
|
|
66
66
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
67
|
-
"@atlaskit/flag": "^17.
|
|
68
|
-
"@atlaskit/form": "^15.
|
|
67
|
+
"@atlaskit/flag": "^17.7.0",
|
|
68
|
+
"@atlaskit/form": "^15.1.0",
|
|
69
69
|
"@atlaskit/heading": "^5.2.0",
|
|
70
70
|
"@atlaskit/link": "^3.2.0",
|
|
71
|
-
"@atlaskit/popup": "^4.
|
|
71
|
+
"@atlaskit/popup": "^4.8.0",
|
|
72
72
|
"@atlaskit/radio": "^8.3.0",
|
|
73
|
-
"@atlaskit/section-message": "^8.
|
|
74
|
-
"@atlaskit/select": "^21.
|
|
73
|
+
"@atlaskit/section-message": "^8.11.0",
|
|
74
|
+
"@atlaskit/select": "^21.6.0",
|
|
75
75
|
"@atlaskit/textfield": "^8.2.0",
|
|
76
76
|
"@atlaskit/tooltip": "^20.11.0",
|
|
77
77
|
"@atlassian/ssr-tests": "workspace:^",
|