@atlaskit/progress-indicator 10.4.0 → 11.0.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 +9 -0
- package/dist/cjs/components/constants.js +0 -4
- package/dist/cjs/components/progress-dots.js +1 -1
- package/dist/es2019/components/constants.js +0 -4
- package/dist/es2019/components/progress-dots.js +1 -1
- package/dist/esm/components/constants.js +0 -4
- package/dist/esm/components/progress-dots.js +1 -1
- package/dist/types/components/constants.d.ts +0 -4
- package/dist/types/components/types.d.ts +1 -1
- package/dist/types-ts4.5/components/constants.d.ts +0 -4
- package/dist/types-ts4.5/components/types.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/progress-indicator
|
|
2
2
|
|
|
3
|
+
## 11.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#132492](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/132492)
|
|
8
|
+
[`47c7e60baaa05`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/47c7e60baaa05) -
|
|
9
|
+
Removes the `small` size from the `size` prop. Using the small size contributed to accessibility
|
|
10
|
+
issues and was unused in the majority of Atlassian products.
|
|
11
|
+
|
|
3
12
|
## 10.4.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
|
@@ -6,23 +6,19 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.varDotsSize = exports.varDotsMargin = exports.sizes = exports.progressIndicatorGapMap = void 0;
|
|
7
7
|
var progressIndicatorGapMap = exports.progressIndicatorGapMap = {
|
|
8
8
|
comfortable: {
|
|
9
|
-
small: ['space.075', "var(--ds-space-075, 6px)"],
|
|
10
9
|
default: ['space.100', "var(--ds-space-100, 8px)"],
|
|
11
10
|
large: ['space.150', "var(--ds-space-150, 12px)"]
|
|
12
11
|
},
|
|
13
12
|
cozy: {
|
|
14
|
-
small: ['space.050', "var(--ds-space-050, 4px)"],
|
|
15
13
|
default: ['space.075', "var(--ds-space-075, 6px)"],
|
|
16
14
|
large: ['space.100', "var(--ds-space-100, 8px)"]
|
|
17
15
|
},
|
|
18
16
|
compact: {
|
|
19
|
-
small: ['space.025', "var(--ds-space-025, 2px)"],
|
|
20
17
|
default: ['space.050', "var(--ds-space-050, 4px)"],
|
|
21
18
|
large: ['space.075', "var(--ds-space-075, 6px)"]
|
|
22
19
|
}
|
|
23
20
|
};
|
|
24
21
|
var sizes = exports.sizes = {
|
|
25
|
-
small: 4,
|
|
26
22
|
default: 8,
|
|
27
23
|
large: 12
|
|
28
24
|
};
|
|
@@ -26,7 +26,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
26
26
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
27
27
|
|
|
28
28
|
var packageName = "@atlaskit/progress-indicator";
|
|
29
|
-
var packageVersion = "
|
|
29
|
+
var packageVersion = "11.0.0";
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* __ProgressDots__
|
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
export const progressIndicatorGapMap = {
|
|
2
2
|
comfortable: {
|
|
3
|
-
small: ['space.075', "var(--ds-space-075, 6px)"],
|
|
4
3
|
default: ['space.100', "var(--ds-space-100, 8px)"],
|
|
5
4
|
large: ['space.150', "var(--ds-space-150, 12px)"]
|
|
6
5
|
},
|
|
7
6
|
cozy: {
|
|
8
|
-
small: ['space.050', "var(--ds-space-050, 4px)"],
|
|
9
7
|
default: ['space.075', "var(--ds-space-075, 6px)"],
|
|
10
8
|
large: ['space.100', "var(--ds-space-100, 8px)"]
|
|
11
9
|
},
|
|
12
10
|
compact: {
|
|
13
|
-
small: ['space.025', "var(--ds-space-025, 2px)"],
|
|
14
11
|
default: ['space.050', "var(--ds-space-050, 4px)"],
|
|
15
12
|
large: ['space.075', "var(--ds-space-075, 6px)"]
|
|
16
13
|
}
|
|
17
14
|
};
|
|
18
15
|
export const sizes = {
|
|
19
|
-
small: 4,
|
|
20
16
|
default: 8,
|
|
21
17
|
large: 12
|
|
22
18
|
};
|
|
@@ -13,7 +13,7 @@ import { Box, Inline } from '@atlaskit/primitives';
|
|
|
13
13
|
import { progressIndicatorGapMap, sizes, varDotsMargin, varDotsSize } from './constants';
|
|
14
14
|
import { ButtonIndicator, PresentationalIndicator } from './indicator';
|
|
15
15
|
const packageName = "@atlaskit/progress-indicator";
|
|
16
|
-
const packageVersion = "
|
|
16
|
+
const packageVersion = "11.0.0";
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* __ProgressDots__
|
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
export var progressIndicatorGapMap = {
|
|
2
2
|
comfortable: {
|
|
3
|
-
small: ['space.075', "var(--ds-space-075, 6px)"],
|
|
4
3
|
default: ['space.100', "var(--ds-space-100, 8px)"],
|
|
5
4
|
large: ['space.150', "var(--ds-space-150, 12px)"]
|
|
6
5
|
},
|
|
7
6
|
cozy: {
|
|
8
|
-
small: ['space.050', "var(--ds-space-050, 4px)"],
|
|
9
7
|
default: ['space.075', "var(--ds-space-075, 6px)"],
|
|
10
8
|
large: ['space.100', "var(--ds-space-100, 8px)"]
|
|
11
9
|
},
|
|
12
10
|
compact: {
|
|
13
|
-
small: ['space.025', "var(--ds-space-025, 2px)"],
|
|
14
11
|
default: ['space.050', "var(--ds-space-050, 4px)"],
|
|
15
12
|
large: ['space.075', "var(--ds-space-075, 6px)"]
|
|
16
13
|
}
|
|
17
14
|
};
|
|
18
15
|
export var sizes = {
|
|
19
|
-
small: 4,
|
|
20
16
|
default: 8,
|
|
21
17
|
large: 12
|
|
22
18
|
};
|
|
@@ -15,7 +15,7 @@ import { Box, Inline } from '@atlaskit/primitives';
|
|
|
15
15
|
import { progressIndicatorGapMap, sizes, varDotsMargin, varDotsSize } from './constants';
|
|
16
16
|
import { ButtonIndicator, PresentationalIndicator } from './indicator';
|
|
17
17
|
var packageName = "@atlaskit/progress-indicator";
|
|
18
|
-
var packageVersion = "
|
|
18
|
+
var packageVersion = "11.0.0";
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* __ProgressDots__
|
|
@@ -5,24 +5,20 @@ type ScaleValue = InlineProps['space'];
|
|
|
5
5
|
type SpacingTuple = [ScaleValue, TokenValue];
|
|
6
6
|
type SpacingPropsToTokensMap = {
|
|
7
7
|
comfortable: {
|
|
8
|
-
small: SpacingTuple;
|
|
9
8
|
default: SpacingTuple;
|
|
10
9
|
large: SpacingTuple;
|
|
11
10
|
};
|
|
12
11
|
cozy: {
|
|
13
|
-
small: SpacingTuple;
|
|
14
12
|
default: SpacingTuple;
|
|
15
13
|
large: SpacingTuple;
|
|
16
14
|
};
|
|
17
15
|
compact: {
|
|
18
|
-
small: SpacingTuple;
|
|
19
16
|
default: SpacingTuple;
|
|
20
17
|
large: SpacingTuple;
|
|
21
18
|
};
|
|
22
19
|
};
|
|
23
20
|
export declare const progressIndicatorGapMap: SpacingPropsToTokensMap;
|
|
24
21
|
export declare const sizes: {
|
|
25
|
-
small: number;
|
|
26
22
|
default: number;
|
|
27
23
|
large: number;
|
|
28
24
|
};
|
|
@@ -8,24 +8,20 @@ type SpacingTuple = [
|
|
|
8
8
|
];
|
|
9
9
|
type SpacingPropsToTokensMap = {
|
|
10
10
|
comfortable: {
|
|
11
|
-
small: SpacingTuple;
|
|
12
11
|
default: SpacingTuple;
|
|
13
12
|
large: SpacingTuple;
|
|
14
13
|
};
|
|
15
14
|
cozy: {
|
|
16
|
-
small: SpacingTuple;
|
|
17
15
|
default: SpacingTuple;
|
|
18
16
|
large: SpacingTuple;
|
|
19
17
|
};
|
|
20
18
|
compact: {
|
|
21
|
-
small: SpacingTuple;
|
|
22
19
|
default: SpacingTuple;
|
|
23
20
|
large: SpacingTuple;
|
|
24
21
|
};
|
|
25
22
|
};
|
|
26
23
|
export declare const progressIndicatorGapMap: SpacingPropsToTokensMap;
|
|
27
24
|
export declare const sizes: {
|
|
28
|
-
small: number;
|
|
29
25
|
default: number;
|
|
30
26
|
large: number;
|
|
31
27
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/progress-indicator",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "11.0.0",
|
|
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/"
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
31
|
-
"@atlaskit/ds-lib": "^2.
|
|
31
|
+
"@atlaskit/ds-lib": "^2.5.0",
|
|
32
32
|
"@atlaskit/primitives": "^12.0.0",
|
|
33
|
-
"@atlaskit/tokens": "^1.
|
|
33
|
+
"@atlaskit/tokens": "^1.59.0",
|
|
34
34
|
"@atlaskit/visually-hidden": "^1.5.0",
|
|
35
35
|
"@babel/runtime": "^7.0.0",
|
|
36
36
|
"@emotion/react": "^11.7.1",
|