@atlaskit/section-message 8.12.3 → 8.12.4
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 +8 -0
- package/dist/cjs/section-message-action.compiled.css +1 -0
- package/dist/cjs/section-message-action.js +4 -2
- package/dist/es2019/section-message-action.compiled.css +1 -0
- package/dist/es2019/section-message-action.js +4 -2
- package/dist/esm/section-message-action.compiled.css +1 -0
- package/dist/esm/section-message-action.js +4 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/section-message
|
|
2
2
|
|
|
3
|
+
## 8.12.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`629119f34f212`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/629119f34f212) -
|
|
8
|
+
Updated border radius behind a feature gate.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 8.12.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
._11c8fhey{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._2rkolb4i{border-radius:var(--ds-radius-xsmall,2px)}
|
|
2
3
|
._19bvze3t{padding-left:var(--ds-space-0,0)}
|
|
3
4
|
._bfhk1j28{background-color:transparent}
|
|
4
5
|
._ca0qze3t{padding-top:var(--ds-space-0,0)}
|
|
@@ -14,12 +14,14 @@ var _runtime = require("@compiled/react/runtime");
|
|
|
14
14
|
var _standardButton = _interopRequireDefault(require("@atlaskit/button/standard-button"));
|
|
15
15
|
var _css = require("@atlaskit/css");
|
|
16
16
|
var _link = _interopRequireDefault(require("@atlaskit/link"));
|
|
17
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
17
18
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
18
19
|
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); }
|
|
19
20
|
var styles = {
|
|
20
21
|
common: "_11c8fhey",
|
|
21
22
|
anchor: "_k48pi7a9",
|
|
22
|
-
pressable: "_syaz13af _k48p1wq8 _bfhk1j28 _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _9oik1r31 _1bnx8stv _jf4cnqa1 _30l313af _9h8h12zz"
|
|
23
|
+
pressable: "_syaz13af _k48p1wq8 _bfhk1j28 _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _9oik1r31 _1bnx8stv _jf4cnqa1 _30l313af _9h8h12zz",
|
|
24
|
+
pressableT26Shape: "_2rkolb4i"
|
|
23
25
|
};
|
|
24
26
|
|
|
25
27
|
/**
|
|
@@ -53,7 +55,7 @@ var SectionMessageAction = /*#__PURE__*/(0, _react.memo)(function SectionMessage
|
|
|
53
55
|
return /*#__PURE__*/React.createElement(_compiled.Pressable, {
|
|
54
56
|
testId: testId,
|
|
55
57
|
onClick: onClick,
|
|
56
|
-
xcss: (0, _css.cx)(styles.common, styles.pressable)
|
|
58
|
+
xcss: (0, _css.cx)(styles.common, styles.pressable, (0, _platformFeatureFlags.fg)('platform-dst-shape-theme-default') && styles.pressableT26Shape)
|
|
57
59
|
}, children);
|
|
58
60
|
}
|
|
59
61
|
return /*#__PURE__*/React.createElement(_compiled.Box, {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
._11c8fhey{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._2rkolb4i{border-radius:var(--ds-radius-xsmall,2px)}
|
|
2
3
|
._19bvze3t{padding-left:var(--ds-space-0,0)}
|
|
3
4
|
._bfhk1j28{background-color:transparent}
|
|
4
5
|
._ca0qze3t{padding-top:var(--ds-space-0,0)}
|
|
@@ -6,11 +6,13 @@ import { Fragment, memo } from 'react';
|
|
|
6
6
|
import Button from '@atlaskit/button/standard-button';
|
|
7
7
|
import { cx } from '@atlaskit/css';
|
|
8
8
|
import Link from '@atlaskit/link';
|
|
9
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
10
|
import { Box, Pressable } from '@atlaskit/primitives/compiled';
|
|
10
11
|
const styles = {
|
|
11
12
|
common: "_11c8fhey",
|
|
12
13
|
anchor: "_k48pi7a9",
|
|
13
|
-
pressable: "_syaz13af _k48p1wq8 _bfhk1j28 _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _9oik1r31 _1bnx8stv _jf4cnqa1 _30l313af _9h8h12zz"
|
|
14
|
+
pressable: "_syaz13af _k48p1wq8 _bfhk1j28 _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _9oik1r31 _1bnx8stv _jf4cnqa1 _30l313af _9h8h12zz",
|
|
15
|
+
pressableT26Shape: "_2rkolb4i"
|
|
14
16
|
};
|
|
15
17
|
|
|
16
18
|
/**
|
|
@@ -45,7 +47,7 @@ const SectionMessageAction = /*#__PURE__*/memo(function SectionMessageAction({
|
|
|
45
47
|
return /*#__PURE__*/React.createElement(Pressable, {
|
|
46
48
|
testId: testId,
|
|
47
49
|
onClick: onClick,
|
|
48
|
-
xcss: cx(styles.common, styles.pressable)
|
|
50
|
+
xcss: cx(styles.common, styles.pressable, fg('platform-dst-shape-theme-default') && styles.pressableT26Shape)
|
|
49
51
|
}, children);
|
|
50
52
|
}
|
|
51
53
|
return /*#__PURE__*/React.createElement(Box, {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
._11c8fhey{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._2rkolb4i{border-radius:var(--ds-radius-xsmall,2px)}
|
|
2
3
|
._19bvze3t{padding-left:var(--ds-space-0,0)}
|
|
3
4
|
._bfhk1j28{background-color:transparent}
|
|
4
5
|
._ca0qze3t{padding-top:var(--ds-space-0,0)}
|
|
@@ -6,11 +6,13 @@ import { Fragment, memo } from 'react';
|
|
|
6
6
|
import Button from '@atlaskit/button/standard-button';
|
|
7
7
|
import { cx } from '@atlaskit/css';
|
|
8
8
|
import Link from '@atlaskit/link';
|
|
9
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
10
|
import { Box, Pressable } from '@atlaskit/primitives/compiled';
|
|
10
11
|
var styles = {
|
|
11
12
|
common: "_11c8fhey",
|
|
12
13
|
anchor: "_k48pi7a9",
|
|
13
|
-
pressable: "_syaz13af _k48p1wq8 _bfhk1j28 _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _9oik1r31 _1bnx8stv _jf4cnqa1 _30l313af _9h8h12zz"
|
|
14
|
+
pressable: "_syaz13af _k48p1wq8 _bfhk1j28 _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _9oik1r31 _1bnx8stv _jf4cnqa1 _30l313af _9h8h12zz",
|
|
15
|
+
pressableT26Shape: "_2rkolb4i"
|
|
14
16
|
};
|
|
15
17
|
|
|
16
18
|
/**
|
|
@@ -44,7 +46,7 @@ var SectionMessageAction = /*#__PURE__*/memo(function SectionMessageAction(_ref)
|
|
|
44
46
|
return /*#__PURE__*/React.createElement(Pressable, {
|
|
45
47
|
testId: testId,
|
|
46
48
|
onClick: onClick,
|
|
47
|
-
xcss: cx(styles.common, styles.pressable)
|
|
49
|
+
xcss: cx(styles.common, styles.pressable, fg('platform-dst-shape-theme-default') && styles.pressableT26Shape)
|
|
48
50
|
}, children);
|
|
49
51
|
}
|
|
50
52
|
return /*#__PURE__*/React.createElement(Box, {
|
package/package.json
CHANGED