@atlaskit/spotlight 0.3.5 → 0.4.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 +7 -0
- package/dist/cjs/ui/popover-target/index.js +1 -7
- package/dist/es2019/ui/popover-target/index.js +1 -6
- package/dist/esm/ui/popover-target/index.js +1 -6
- package/package.json +1 -1
- package/dist/cjs/ui/popover-target/index.compiled.css +0 -1
- package/dist/es2019/ui/popover-target/index.compiled.css +0 -1
- package/dist/esm/ui/popover-target/index.compiled.css +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/spotlight
|
|
2
2
|
|
|
3
|
+
## 0.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`07392017dde4f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/07392017dde4f) -
|
|
8
|
+
Remove `width: fit-content` styling from `PopoverTarget`.
|
|
9
|
+
|
|
3
10
|
## 0.3.5
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -6,15 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
exports.PopoverTarget = void 0;
|
|
9
|
-
require("./index.compiled.css");
|
|
10
9
|
var React = _interopRequireWildcard(require("react"));
|
|
11
10
|
var _runtime = require("@compiled/react/runtime");
|
|
12
11
|
var _popper = require("@atlaskit/popper");
|
|
13
12
|
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); }
|
|
14
|
-
var styles = {
|
|
15
|
-
root: "_1bsb1ns9"
|
|
16
|
-
};
|
|
17
|
-
|
|
18
13
|
/**
|
|
19
14
|
* __Target__
|
|
20
15
|
*
|
|
@@ -25,8 +20,7 @@ var PopoverTarget = exports.PopoverTarget = function PopoverTarget(_ref) {
|
|
|
25
20
|
return /*#__PURE__*/React.createElement(_popper.Reference, null, function (_ref2) {
|
|
26
21
|
var ref = _ref2.ref;
|
|
27
22
|
return /*#__PURE__*/React.createElement("div", {
|
|
28
|
-
ref: ref
|
|
29
|
-
className: (0, _runtime.ax)([styles.root])
|
|
23
|
+
ref: ref
|
|
30
24
|
}, children);
|
|
31
25
|
});
|
|
32
26
|
};
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
/* index.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
|
-
import "./index.compiled.css";
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
4
|
import { Reference } from '@atlaskit/popper';
|
|
6
|
-
const styles = {
|
|
7
|
-
root: "_1bsb1ns9"
|
|
8
|
-
};
|
|
9
5
|
|
|
10
6
|
/**
|
|
11
7
|
* __Target__
|
|
@@ -18,7 +14,6 @@ export const PopoverTarget = ({
|
|
|
18
14
|
return /*#__PURE__*/React.createElement(Reference, null, ({
|
|
19
15
|
ref
|
|
20
16
|
}) => /*#__PURE__*/React.createElement("div", {
|
|
21
|
-
ref: ref
|
|
22
|
-
className: ax([styles.root])
|
|
17
|
+
ref: ref
|
|
23
18
|
}, children));
|
|
24
19
|
};
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
/* index.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
|
-
import "./index.compiled.css";
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
4
|
import { Reference } from '@atlaskit/popper';
|
|
6
|
-
var styles = {
|
|
7
|
-
root: "_1bsb1ns9"
|
|
8
|
-
};
|
|
9
5
|
|
|
10
6
|
/**
|
|
11
7
|
* __Target__
|
|
@@ -17,8 +13,7 @@ export var PopoverTarget = function PopoverTarget(_ref) {
|
|
|
17
13
|
return /*#__PURE__*/React.createElement(Reference, null, function (_ref2) {
|
|
18
14
|
var ref = _ref2.ref;
|
|
19
15
|
return /*#__PURE__*/React.createElement("div", {
|
|
20
|
-
ref: ref
|
|
21
|
-
className: ax([styles.root])
|
|
16
|
+
ref: ref
|
|
22
17
|
}, children);
|
|
23
18
|
});
|
|
24
19
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/spotlight",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "A spotlight introduces users to various points of interest across Atlassian through focused messages or multi-step tours.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._1bsb1ns9{width:-moz-fit-content;width:fit-content}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._1bsb1ns9{width:-moz-fit-content;width:fit-content}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._1bsb1ns9{width:-moz-fit-content;width:fit-content}
|