@atlaskit/inline-message 15.5.7 → 15.6.0
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/components/inline-message/index.js +3 -6
- package/dist/cjs/components/message-icon/index.js +1 -1
- package/dist/es2019/components/inline-message/index.js +3 -6
- package/dist/es2019/components/message-icon/index.js +1 -1
- package/dist/esm/components/inline-message/index.js +3 -6
- package/dist/esm/components/message-icon/index.js +1 -1
- package/package.json +5 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/inline-message
|
|
2
2
|
|
|
3
|
+
## 15.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`8a0f486ff624f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8a0f486ff624f) -
|
|
8
|
+
[ux] Cleans up add-max-width-and-height-to-inline-message as this feature gate is fully rolled out
|
|
9
|
+
now.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 15.5.8
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 15.5.7
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -14,9 +14,7 @@ var _runtime = require("@compiled/react/runtime");
|
|
|
14
14
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
15
15
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
16
16
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
17
|
-
var _react2 = require("@compiled/react");
|
|
18
17
|
var _useId = require("@atlaskit/ds-lib/use-id");
|
|
19
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
20
18
|
var _popup = _interopRequireDefault(require("@atlaskit/popup"));
|
|
21
19
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
22
20
|
var _colors = require("@atlaskit/theme/colors");
|
|
@@ -24,8 +22,7 @@ var _messageIcon = _interopRequireDefault(require("../message-icon"));
|
|
|
24
22
|
var _excluded = ["ref"];
|
|
25
23
|
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); }
|
|
26
24
|
var styles = {
|
|
27
|
-
contentStyles: "_bozg1ejb _y4ti1ejb _1q51pxbi _85i5pxbi",
|
|
28
|
-
heightAndWidthConstraints: "_1reo1wug _18m91wug _p12flti4 _c71llti4",
|
|
25
|
+
contentStyles: "_1reo1wug _18m91wug _bozg1ejb _y4ti1ejb _1q51pxbi _85i5pxbi _p12flti4 _c71llti4",
|
|
29
26
|
rootStyles: "_1e0c1o8l _p12f1osq _1yyu1kum _y2mv1w7i",
|
|
30
27
|
pressableStyles: "_2rko1qi0 _11c8fhey _1rjcze3t _18zrze3t _1e0c116y _bfhksm61 _syazazsu _o5721q9c _kqswh2mm _4cvr1q9y _p12f1osq _4t3i1wug _1bsb1wug _s7n41q9y _9oik1r31 _1bnx8stv _jf4cnqa1"
|
|
31
28
|
};
|
|
@@ -94,7 +91,7 @@ var InlineMessage = function InlineMessage(_ref) {
|
|
|
94
91
|
onClose: onCloseDialog,
|
|
95
92
|
content: function content() {
|
|
96
93
|
return /*#__PURE__*/React.createElement(_compiled.Box, {
|
|
97
|
-
xcss:
|
|
94
|
+
xcss: styles.contentStyles
|
|
98
95
|
}, children);
|
|
99
96
|
},
|
|
100
97
|
isOpen: isOpen,
|
|
@@ -1,19 +1,16 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./index.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import { useCallback, useState } from 'react';
|
|
7
|
-
import { cx } from '@compiled/react';
|
|
8
7
|
import { useId } from '@atlaskit/ds-lib/use-id';
|
|
9
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
8
|
import Popup from '@atlaskit/popup';
|
|
11
9
|
import { Box, Inline, Pressable, Text } from '@atlaskit/primitives/compiled';
|
|
12
10
|
import { B300, G200, P200, R300, Y200 } from '@atlaskit/theme/colors';
|
|
13
11
|
import MessageIcon from '../message-icon';
|
|
14
12
|
const styles = {
|
|
15
|
-
contentStyles: "_bozg1ejb _y4ti1ejb _1q51pxbi _85i5pxbi",
|
|
16
|
-
heightAndWidthConstraints: "_1reo1wug _18m91wug _p12flti4 _c71llti4",
|
|
13
|
+
contentStyles: "_1reo1wug _18m91wug _bozg1ejb _y4ti1ejb _1q51pxbi _85i5pxbi _p12flti4 _c71llti4",
|
|
17
14
|
rootStyles: "_1e0c1o8l _p12f1osq _1yyu1kum _y2mv1w7i",
|
|
18
15
|
pressableStyles: "_2rko1qi0 _11c8fhey _1rjcze3t _18zrze3t _1e0c116y _bfhksm61 _syazazsu _o5721q9c _kqswh2mm _4cvr1q9y _p12f1osq _4t3i1wug _1bsb1wug _s7n41q9y _9oik1r31 _1bnx8stv _jf4cnqa1"
|
|
19
16
|
};
|
|
@@ -70,7 +67,7 @@ const InlineMessage = ({
|
|
|
70
67
|
}, /*#__PURE__*/React.createElement(Popup, {
|
|
71
68
|
onClose: onCloseDialog,
|
|
72
69
|
content: () => /*#__PURE__*/React.createElement(Box, {
|
|
73
|
-
xcss:
|
|
70
|
+
xcss: styles.contentStyles
|
|
74
71
|
}, children),
|
|
75
72
|
isOpen: isOpen,
|
|
76
73
|
placement: placement,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
@@ -7,16 +7,13 @@ import "./index.compiled.css";
|
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import { ax, ix } from "@compiled/react/runtime";
|
|
9
9
|
import { useCallback, useState } from 'react';
|
|
10
|
-
import { cx } from '@compiled/react';
|
|
11
10
|
import { useId } from '@atlaskit/ds-lib/use-id';
|
|
12
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
11
|
import Popup from '@atlaskit/popup';
|
|
14
12
|
import { Box, Inline, Pressable, Text } from '@atlaskit/primitives/compiled';
|
|
15
13
|
import { B300, G200, P200, R300, Y200 } from '@atlaskit/theme/colors';
|
|
16
14
|
import MessageIcon from '../message-icon';
|
|
17
15
|
var styles = {
|
|
18
|
-
contentStyles: "_bozg1ejb _y4ti1ejb _1q51pxbi _85i5pxbi",
|
|
19
|
-
heightAndWidthConstraints: "_1reo1wug _18m91wug _p12flti4 _c71llti4",
|
|
16
|
+
contentStyles: "_1reo1wug _18m91wug _bozg1ejb _y4ti1ejb _1q51pxbi _85i5pxbi _p12flti4 _c71llti4",
|
|
20
17
|
rootStyles: "_1e0c1o8l _p12f1osq _1yyu1kum _y2mv1w7i",
|
|
21
18
|
pressableStyles: "_2rko1qi0 _11c8fhey _1rjcze3t _18zrze3t _1e0c116y _bfhksm61 _syazazsu _o5721q9c _kqswh2mm _4cvr1q9y _p12f1osq _4t3i1wug _1bsb1wug _s7n41q9y _9oik1r31 _1bnx8stv _jf4cnqa1"
|
|
22
19
|
};
|
|
@@ -85,7 +82,7 @@ var InlineMessage = function InlineMessage(_ref) {
|
|
|
85
82
|
onClose: onCloseDialog,
|
|
86
83
|
content: function content() {
|
|
87
84
|
return /*#__PURE__*/React.createElement(Box, {
|
|
88
|
-
xcss:
|
|
85
|
+
xcss: styles.contentStyles
|
|
89
86
|
}, children);
|
|
90
87
|
},
|
|
91
88
|
isOpen: isOpen,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/inline-message",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.6.0",
|
|
4
4
|
"description": "An inline message lets users know when important information is available or when an action is required.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@atlaskit/button": "^23.10.0",
|
|
28
|
-
"@atlaskit/ds-lib": "^
|
|
28
|
+
"@atlaskit/ds-lib": "^6.0.0",
|
|
29
29
|
"@atlaskit/icon": "^32.0.0",
|
|
30
30
|
"@atlaskit/link": "^3.3.0",
|
|
31
31
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"@atlaskit/popup": "^4.13.0",
|
|
34
34
|
"@atlaskit/primitives": "^18.0.0",
|
|
35
35
|
"@atlaskit/theme": "^22.0.0",
|
|
36
|
-
"@atlaskit/tokens": "^11.
|
|
36
|
+
"@atlaskit/tokens": "^11.1.0",
|
|
37
37
|
"@babel/runtime": "^7.0.0",
|
|
38
|
-
"@compiled/react": "^0.
|
|
38
|
+
"@compiled/react": "^0.20.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"react": "^18.2.0"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@af/accessibility-testing": "workspace:^",
|
|
45
45
|
"@af/integration-testing": "workspace:^",
|
|
46
46
|
"@af/visual-regression": "workspace:^",
|
|
47
|
-
"@atlaskit/docs": "^11.
|
|
47
|
+
"@atlaskit/docs": "^11.7.0",
|
|
48
48
|
"@atlaskit/heading": "^5.3.0",
|
|
49
49
|
"@atlaskit/modal-dialog": "^14.11.0",
|
|
50
50
|
"@atlaskit/section-message": "^8.12.0",
|
|
@@ -90,9 +90,6 @@
|
|
|
90
90
|
"platform-feature-flags": {
|
|
91
91
|
"dst-a11y__replace-anchor-with-link__design-system-": {
|
|
92
92
|
"type": "boolean"
|
|
93
|
-
},
|
|
94
|
-
"add-max-width-and-height-to-inline-message": {
|
|
95
|
-
"type": "boolean"
|
|
96
93
|
}
|
|
97
94
|
}
|
|
98
95
|
}
|