@atlaskit/spotlight 0.9.7 → 0.9.8
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/ui/card/caret/index.compiled.css +0 -1
- package/dist/cjs/ui/card/caret/index.js +6 -1
- package/dist/es2019/ui/card/caret/index.compiled.css +0 -1
- package/dist/es2019/ui/card/caret/index.js +6 -1
- package/dist/esm/ui/card/caret/index.compiled.css +0 -1
- package/dist/esm/ui/card/caret/index.js +6 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/spotlight
|
|
2
2
|
|
|
3
|
+
## 0.9.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`14e6e700928ef`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/14e6e700928ef) -
|
|
8
|
+
Internal changes to how border width and radius are applied.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 0.9.7
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -13,7 +13,7 @@ var _runtime = require("@compiled/react/runtime");
|
|
|
13
13
|
var _context = require("../../../controllers/context");
|
|
14
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); }
|
|
15
15
|
var styles = {
|
|
16
|
-
root: "_bfhk1aqn
|
|
16
|
+
root: "_bfhk1aqn _mkrzmhja _4t3io7ao _kqswh2mm _1bsbo7ao _1pby1fw0",
|
|
17
17
|
'top-start': "_t9ec71a3",
|
|
18
18
|
'top-center': "_t9ec71a3",
|
|
19
19
|
'top-end': "_t9ec71a3",
|
|
@@ -38,6 +38,11 @@ var Caret = exports.Caret = /*#__PURE__*/(0, _react.forwardRef)(function (_ref,
|
|
|
38
38
|
return /*#__PURE__*/React.createElement("div", {
|
|
39
39
|
"data-testid": testId,
|
|
40
40
|
ref: ref,
|
|
41
|
+
// Growth Pattern Library designs dictate 1px radius. cssMap only allows tokens
|
|
42
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
43
|
+
style: {
|
|
44
|
+
borderEndStartRadius: '1px'
|
|
45
|
+
},
|
|
41
46
|
className: (0, _runtime.ax)([styles.root, styles[card.placement]])
|
|
42
47
|
});
|
|
43
48
|
});
|
|
@@ -5,7 +5,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
5
5
|
import { forwardRef, useContext } from 'react';
|
|
6
6
|
import { SpotlightContext } from '../../../controllers/context';
|
|
7
7
|
const styles = {
|
|
8
|
-
root: "_bfhk1aqn
|
|
8
|
+
root: "_bfhk1aqn _mkrzmhja _4t3io7ao _kqswh2mm _1bsbo7ao _1pby1fw0",
|
|
9
9
|
'top-start': "_t9ec71a3",
|
|
10
10
|
'top-center': "_t9ec71a3",
|
|
11
11
|
'top-end': "_t9ec71a3",
|
|
@@ -32,6 +32,11 @@ export const Caret = /*#__PURE__*/forwardRef(({
|
|
|
32
32
|
return /*#__PURE__*/React.createElement("div", {
|
|
33
33
|
"data-testid": testId,
|
|
34
34
|
ref: ref,
|
|
35
|
+
// Growth Pattern Library designs dictate 1px radius. cssMap only allows tokens
|
|
36
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
37
|
+
style: {
|
|
38
|
+
borderEndStartRadius: '1px'
|
|
39
|
+
},
|
|
35
40
|
className: ax([styles.root, styles[card.placement]])
|
|
36
41
|
});
|
|
37
42
|
});
|
|
@@ -5,7 +5,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
5
5
|
import { forwardRef, useContext } from 'react';
|
|
6
6
|
import { SpotlightContext } from '../../../controllers/context';
|
|
7
7
|
var styles = {
|
|
8
|
-
root: "_bfhk1aqn
|
|
8
|
+
root: "_bfhk1aqn _mkrzmhja _4t3io7ao _kqswh2mm _1bsbo7ao _1pby1fw0",
|
|
9
9
|
'top-start': "_t9ec71a3",
|
|
10
10
|
'top-center': "_t9ec71a3",
|
|
11
11
|
'top-end': "_t9ec71a3",
|
|
@@ -30,6 +30,11 @@ export var Caret = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
30
30
|
return /*#__PURE__*/React.createElement("div", {
|
|
31
31
|
"data-testid": testId,
|
|
32
32
|
ref: ref,
|
|
33
|
+
// Growth Pattern Library designs dictate 1px radius. cssMap only allows tokens
|
|
34
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
35
|
+
style: {
|
|
36
|
+
borderEndStartRadius: '1px'
|
|
37
|
+
},
|
|
33
38
|
className: ax([styles.root, styles[card.placement]])
|
|
34
39
|
});
|
|
35
40
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/spotlight",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.8",
|
|
4
4
|
"description": "A spotlight introduces users to points of interest, from focused messages to multi-step tours.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
"atlaskit:src": "src/index.tsx",
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/browser-apis": "^0.0.1",
|
|
36
|
-
"@atlaskit/button": "^23.
|
|
37
|
-
"@atlaskit/css": "^0.
|
|
36
|
+
"@atlaskit/button": "^23.8.0",
|
|
37
|
+
"@atlaskit/css": "^0.18.0",
|
|
38
38
|
"@atlaskit/ds-lib": "^5.3.0",
|
|
39
39
|
"@atlaskit/heading": "^5.2.0",
|
|
40
|
-
"@atlaskit/icon": "^29.
|
|
40
|
+
"@atlaskit/icon": "^29.2.0",
|
|
41
41
|
"@atlaskit/image": "^3.0.0",
|
|
42
42
|
"@atlaskit/popper": "^7.1.0",
|
|
43
|
-
"@atlaskit/primitives": "^16.
|
|
44
|
-
"@atlaskit/tokens": "^8.
|
|
43
|
+
"@atlaskit/primitives": "^16.4.0",
|
|
44
|
+
"@atlaskit/tokens": "^8.6.0",
|
|
45
45
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
46
46
|
"@babel/runtime": "^7.0.0",
|
|
47
47
|
"@compiled/react": "^0.18.6",
|