@atlaskit/progress-indicator 9.5.15 → 9.5.16
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 +6 -0
- package/dist/cjs/components/indicator.js +6 -9
- package/dist/cjs/components/progress-dots.js +2 -2
- package/dist/es2019/components/indicator.js +5 -8
- package/dist/es2019/components/progress-dots.js +2 -2
- package/dist/esm/components/indicator.js +6 -9
- package/dist/esm/components/progress-dots.js +2 -2
- package/dist/types/components/indicator.d.ts +3 -1
- package/dist/types-ts4.5/components/indicator.d.ts +3 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -40,15 +40,12 @@ var buttonStyles = (0, _react.css)({
|
|
|
40
40
|
*
|
|
41
41
|
* A presentational indicator with no interactivity
|
|
42
42
|
*/
|
|
43
|
-
var PresentationalIndicator = function PresentationalIndicator(props
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
css: commonStyles,
|
|
50
|
-
role: "presentation"
|
|
51
|
-
}));
|
|
43
|
+
var PresentationalIndicator = function PresentationalIndicator(props) {
|
|
44
|
+
return (0, _react.jsx)("div", {
|
|
45
|
+
style: props.style,
|
|
46
|
+
"data-testid": props.testId,
|
|
47
|
+
css: commonStyles
|
|
48
|
+
});
|
|
52
49
|
};
|
|
53
50
|
|
|
54
51
|
/**
|
|
@@ -23,7 +23,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
23
23
|
/** @jsx jsx */
|
|
24
24
|
|
|
25
25
|
var packageName = "@atlaskit/progress-indicator";
|
|
26
|
-
var packageVersion = "9.5.
|
|
26
|
+
var packageVersion = "9.5.16";
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* __ProgressDots__
|
|
@@ -139,7 +139,7 @@ var ProgressDots = function ProgressDots(_ref) {
|
|
|
139
139
|
tabIndex: isSelected ? 0 : -1,
|
|
140
140
|
"data-testid": testId && "".concat(testId, "-ind-").concat(index)
|
|
141
141
|
}) : (0, _react2.jsx)(_indicator.PresentationalIndicator, {
|
|
142
|
-
|
|
142
|
+
testId: testId && "".concat(testId, "-ind-").concat(index),
|
|
143
143
|
key: index,
|
|
144
144
|
style: {
|
|
145
145
|
backgroundColor: backgroundColor
|
|
@@ -33,14 +33,11 @@ const buttonStyles = css({
|
|
|
33
33
|
*
|
|
34
34
|
* A presentational indicator with no interactivity
|
|
35
35
|
*/
|
|
36
|
-
export const PresentationalIndicator = (
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
)
|
|
41
|
-
css: commonStyles,
|
|
42
|
-
role: "presentation"
|
|
43
|
-
}));
|
|
36
|
+
export const PresentationalIndicator = props => jsx("div", {
|
|
37
|
+
style: props.style,
|
|
38
|
+
"data-testid": props.testId,
|
|
39
|
+
css: commonStyles
|
|
40
|
+
});
|
|
44
41
|
|
|
45
42
|
/**
|
|
46
43
|
* __Button indicator__
|
|
@@ -10,7 +10,7 @@ import { getBgColor } from './appearances';
|
|
|
10
10
|
import { progressIndicatorGapMap, sizes, varDotsMargin, varDotsSize } from './constants';
|
|
11
11
|
import { ButtonIndicator, PresentationalIndicator } from './indicator';
|
|
12
12
|
const packageName = "@atlaskit/progress-indicator";
|
|
13
|
-
const packageVersion = "9.5.
|
|
13
|
+
const packageVersion = "9.5.16";
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* __ProgressDots__
|
|
@@ -122,7 +122,7 @@ const ProgressDots = ({
|
|
|
122
122
|
tabIndex: isSelected ? 0 : -1,
|
|
123
123
|
"data-testid": testId && `${testId}-ind-${index}`
|
|
124
124
|
}) : jsx(PresentationalIndicator, {
|
|
125
|
-
|
|
125
|
+
testId: testId && `${testId}-ind-${index}`,
|
|
126
126
|
key: index,
|
|
127
127
|
style: {
|
|
128
128
|
backgroundColor
|
|
@@ -33,15 +33,12 @@ var buttonStyles = css({
|
|
|
33
33
|
*
|
|
34
34
|
* A presentational indicator with no interactivity
|
|
35
35
|
*/
|
|
36
|
-
export var PresentationalIndicator = function PresentationalIndicator(props
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
css: commonStyles,
|
|
43
|
-
role: "presentation"
|
|
44
|
-
}));
|
|
36
|
+
export var PresentationalIndicator = function PresentationalIndicator(props) {
|
|
37
|
+
return jsx("div", {
|
|
38
|
+
style: props.style,
|
|
39
|
+
"data-testid": props.testId,
|
|
40
|
+
css: commonStyles
|
|
41
|
+
});
|
|
45
42
|
};
|
|
46
43
|
|
|
47
44
|
/**
|
|
@@ -12,7 +12,7 @@ import { getBgColor } from './appearances';
|
|
|
12
12
|
import { progressIndicatorGapMap, sizes, varDotsMargin, varDotsSize } from './constants';
|
|
13
13
|
import { ButtonIndicator, PresentationalIndicator } from './indicator';
|
|
14
14
|
var packageName = "@atlaskit/progress-indicator";
|
|
15
|
-
var packageVersion = "9.5.
|
|
15
|
+
var packageVersion = "9.5.16";
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* __ProgressDots__
|
|
@@ -128,7 +128,7 @@ var ProgressDots = function ProgressDots(_ref) {
|
|
|
128
128
|
tabIndex: isSelected ? 0 : -1,
|
|
129
129
|
"data-testid": testId && "".concat(testId, "-ind-").concat(index)
|
|
130
130
|
}) : jsx(PresentationalIndicator, {
|
|
131
|
-
|
|
131
|
+
testId: testId && "".concat(testId, "-ind-").concat(index),
|
|
132
132
|
key: index,
|
|
133
133
|
style: {
|
|
134
134
|
backgroundColor: backgroundColor
|
|
@@ -6,7 +6,9 @@ import { jsx } from '@emotion/react';
|
|
|
6
6
|
*
|
|
7
7
|
* A presentational indicator with no interactivity
|
|
8
8
|
*/
|
|
9
|
-
export declare const PresentationalIndicator: (props: HTMLAttributes<HTMLDivElement>
|
|
9
|
+
export declare const PresentationalIndicator: (props: HTMLAttributes<HTMLDivElement> & {
|
|
10
|
+
testId?: string;
|
|
11
|
+
}) => jsx.JSX.Element;
|
|
10
12
|
/**
|
|
11
13
|
* __Button indicator__
|
|
12
14
|
*
|
|
@@ -6,7 +6,9 @@ import { jsx } from '@emotion/react';
|
|
|
6
6
|
*
|
|
7
7
|
* A presentational indicator with no interactivity
|
|
8
8
|
*/
|
|
9
|
-
export declare const PresentationalIndicator: (props: HTMLAttributes<HTMLDivElement>
|
|
9
|
+
export declare const PresentationalIndicator: (props: HTMLAttributes<HTMLDivElement> & {
|
|
10
|
+
testId?: string;
|
|
11
|
+
}) => jsx.JSX.Element;
|
|
10
12
|
/**
|
|
11
13
|
* __Button indicator__
|
|
12
14
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/progress-indicator",
|
|
3
|
-
"version": "9.5.
|
|
3
|
+
"version": "9.5.16",
|
|
4
4
|
"description": "A progress indicator shows the user where they are along the steps of a journey.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
27
27
|
"@atlaskit/ds-lib": "^2.2.0",
|
|
28
28
|
"@atlaskit/focus-ring": "^1.3.0",
|
|
29
|
-
"@atlaskit/primitives": "^1.
|
|
30
|
-
"@atlaskit/theme": "^12.
|
|
31
|
-
"@atlaskit/tokens": "^1.
|
|
29
|
+
"@atlaskit/primitives": "^1.6.0",
|
|
30
|
+
"@atlaskit/theme": "^12.6.0",
|
|
31
|
+
"@atlaskit/tokens": "^1.22.0",
|
|
32
32
|
"@babel/runtime": "^7.0.0",
|
|
33
33
|
"@emotion/react": "^11.7.1",
|
|
34
34
|
"bind-event-listener": "^2.1.1"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@af/accessibility-testing": "*",
|
|
41
41
|
"@af/visual-regression": "*",
|
|
42
|
-
"@atlaskit/ds-explorations": "^2.
|
|
42
|
+
"@atlaskit/ds-explorations": "^2.3.0",
|
|
43
43
|
"@atlaskit/ssr": "*",
|
|
44
44
|
"@atlaskit/visual-regression": "*",
|
|
45
45
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|