@atlaskit/util-data-test 17.8.36 → 17.8.37
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
CHANGED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.confluence.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"composite": true,
|
|
7
|
+
"outDir": "../dist",
|
|
8
|
+
"rootDir": "../",
|
|
9
|
+
"baseUrl": "../"
|
|
10
|
+
},
|
|
11
|
+
"include": [
|
|
12
|
+
"../src/**/*.ts",
|
|
13
|
+
"../src/**/*.tsx"
|
|
14
|
+
],
|
|
15
|
+
"exclude": [
|
|
16
|
+
"../src/**/__tests__/*",
|
|
17
|
+
"../src/**/*.test.*",
|
|
18
|
+
"../src/**/test.*"
|
|
19
|
+
],
|
|
20
|
+
"references": [
|
|
21
|
+
{
|
|
22
|
+
"path": "../../../analytics/analytics-next/afm-cc/tsconfig.json"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"path": "../../emoji/afm-cc/tsconfig.json"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"path": "../../../design-system/icon/afm-cc/tsconfig.json"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"path": "../../mention/afm-cc/tsconfig.json"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"path": "../../../people-and-teams/profilecard/afm-cc/tsconfig.json"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"path": "../../../design-system/theme/afm-cc/tsconfig.json"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"path": "../../../design-system/tokens/afm-cc/tsconfig.json"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"path": "../../user-picker/afm-cc/tsconfig.json"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"path": "../../util-service-support/afm-cc/tsconfig.json"
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}
|
|
@@ -10,6 +10,8 @@ var _react = require("react");
|
|
|
10
10
|
var _react2 = require("@emotion/react");
|
|
11
11
|
var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/glyph/chevron-right"));
|
|
12
12
|
var _colors = require("@atlaskit/theme/colors");
|
|
13
|
+
/** @jsx jsx */
|
|
14
|
+
|
|
13
15
|
var wrapper = (0, _react2.css)({
|
|
14
16
|
display: 'flex'
|
|
15
17
|
});
|
|
@@ -24,11 +26,11 @@ var _default = exports.default = function _default() {
|
|
|
24
26
|
var onMouseLeave = (0, _react.useCallback)(function () {
|
|
25
27
|
return setHoverState(false);
|
|
26
28
|
}, [setHoverState]);
|
|
27
|
-
return
|
|
29
|
+
return (0, _react2.jsx)("div", {
|
|
28
30
|
css: wrapper,
|
|
29
31
|
onMouseEnter: onMouseEnter,
|
|
30
32
|
onMouseLeave: onMouseLeave
|
|
31
|
-
},
|
|
33
|
+
}, (0, _react2.jsx)(_chevronRight.default, {
|
|
32
34
|
testId: "chevron-right-icon",
|
|
33
35
|
label: "chevron right",
|
|
34
36
|
size: "large",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
1
2
|
import { useCallback, useState } from 'react';
|
|
2
|
-
import { css } from '@emotion/react';
|
|
3
|
+
import { css, jsx } from '@emotion/react';
|
|
3
4
|
import ChevronRightIcon from '@atlaskit/icon/glyph/chevron-right';
|
|
4
5
|
import { N50, N200 } from '@atlaskit/theme/colors';
|
|
5
6
|
const wrapper = css({
|
|
@@ -9,11 +10,11 @@ export default (() => {
|
|
|
9
10
|
const [isMouseHovered, setHoverState] = useState(false);
|
|
10
11
|
const onMouseEnter = useCallback(() => setHoverState(true), [setHoverState]);
|
|
11
12
|
const onMouseLeave = useCallback(() => setHoverState(false), [setHoverState]);
|
|
12
|
-
return
|
|
13
|
+
return jsx("div", {
|
|
13
14
|
css: wrapper,
|
|
14
15
|
onMouseEnter: onMouseEnter,
|
|
15
16
|
onMouseLeave: onMouseLeave
|
|
16
|
-
},
|
|
17
|
+
}, jsx(ChevronRightIcon, {
|
|
17
18
|
testId: "chevron-right-icon",
|
|
18
19
|
label: "chevron right",
|
|
19
20
|
size: "large",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
|
+
/** @jsx jsx */
|
|
2
3
|
import { useCallback, useState } from 'react';
|
|
3
|
-
import { css } from '@emotion/react';
|
|
4
|
+
import { css, jsx } from '@emotion/react';
|
|
4
5
|
import ChevronRightIcon from '@atlaskit/icon/glyph/chevron-right';
|
|
5
6
|
import { N50, N200 } from '@atlaskit/theme/colors';
|
|
6
7
|
var wrapper = css({
|
|
@@ -17,11 +18,11 @@ export default (function () {
|
|
|
17
18
|
var onMouseLeave = useCallback(function () {
|
|
18
19
|
return setHoverState(false);
|
|
19
20
|
}, [setHoverState]);
|
|
20
|
-
return
|
|
21
|
+
return jsx("div", {
|
|
21
22
|
css: wrapper,
|
|
22
23
|
onMouseEnter: onMouseEnter,
|
|
23
24
|
onMouseLeave: onMouseLeave
|
|
24
|
-
},
|
|
25
|
+
}, jsx(ChevronRightIcon, {
|
|
25
26
|
testId: "chevron-right-icon",
|
|
26
27
|
label: "chevron right",
|
|
27
28
|
size: "large",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/util-data-test",
|
|
3
|
-
"version": "17.8.
|
|
3
|
+
"version": "17.8.37",
|
|
4
4
|
"description": "Shared test and story data",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@atlaskit/profilecard": "^19.7.0",
|
|
75
75
|
"@atlaskit/theme": "^12.6.0",
|
|
76
76
|
"@atlaskit/tokens": "^1.29.0",
|
|
77
|
-
"@atlaskit/user-picker": "10.12.
|
|
77
|
+
"@atlaskit/user-picker": "10.12.5",
|
|
78
78
|
"@atlaskit/util-service-support": "^6.2.0",
|
|
79
79
|
"@babel/runtime": "^7.0.0",
|
|
80
80
|
"@emotion/react": "^11.7.1",
|