@atlaskit/progress-indicator 9.4.6 → 9.4.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 +12 -0
- package/dist/cjs/components/constants.js +9 -9
- package/dist/cjs/components/progress-dots.js +4 -4
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/constants.js +9 -9
- package/dist/es2019/components/progress-dots.js +4 -4
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/constants.js +9 -9
- package/dist/esm/components/progress-dots.js +4 -4
- package/dist/esm/version.json +1 -1
- package/dist/types/components/constants.d.ts +2 -2
- package/package.json +8 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/progress-indicator
|
|
2
2
|
|
|
3
|
+
## 9.4.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`842bb999a85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/842bb999a85) - Internal change only. Replace usages of Inline/Stack with stable version from `@atlaskit/primitives`.
|
|
8
|
+
|
|
9
|
+
## 9.4.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 9.4.6
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -6,19 +6,19 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.varDotsSize = exports.varDotsMargin = exports.sizes = exports.progressIndicatorGapMap = void 0;
|
|
7
7
|
var progressIndicatorGapMap = {
|
|
8
8
|
comfortable: {
|
|
9
|
-
small: ['
|
|
10
|
-
default: ['
|
|
11
|
-
large: ['
|
|
9
|
+
small: ['075', "var(--ds-space-075, 6px)"],
|
|
10
|
+
default: ['100', "var(--ds-space-100, 8px)"],
|
|
11
|
+
large: ['150', "var(--ds-space-150, 12px)"]
|
|
12
12
|
},
|
|
13
13
|
cozy: {
|
|
14
|
-
small: ['
|
|
15
|
-
default: ['
|
|
16
|
-
large: ['
|
|
14
|
+
small: ['050', "var(--ds-space-050, 4px)"],
|
|
15
|
+
default: ['075', "var(--ds-space-075, 6px)"],
|
|
16
|
+
large: ['100', "var(--ds-space-100, 8px)"]
|
|
17
17
|
},
|
|
18
18
|
compact: {
|
|
19
|
-
small: ['
|
|
20
|
-
default: ['
|
|
21
|
-
large: ['
|
|
19
|
+
small: ['025', "var(--ds-space-025, 2px)"],
|
|
20
|
+
default: ['050', "var(--ds-space-050, 4px)"],
|
|
21
|
+
large: ['075', "var(--ds-space-075, 6px)"]
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
exports.progressIndicatorGapMap = progressIndicatorGapMap;
|
|
@@ -13,8 +13,8 @@ var _react2 = require("@emotion/react");
|
|
|
13
13
|
var _bindEventListener = require("bind-event-listener");
|
|
14
14
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
15
15
|
var _box = _interopRequireDefault(require("@atlaskit/ds-explorations/box"));
|
|
16
|
-
var _inline = _interopRequireDefault(require("@atlaskit/ds-explorations/inline"));
|
|
17
16
|
var _noop = _interopRequireDefault(require("@atlaskit/ds-lib/noop"));
|
|
17
|
+
var _inline = _interopRequireDefault(require("@atlaskit/primitives/inline"));
|
|
18
18
|
var _components = require("@atlaskit/theme/components");
|
|
19
19
|
var _appearances = require("./appearances");
|
|
20
20
|
var _constants = require("./constants");
|
|
@@ -24,7 +24,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
24
24
|
/** @jsx jsx */
|
|
25
25
|
|
|
26
26
|
var packageName = "@atlaskit/progress-indicator";
|
|
27
|
-
var packageVersion = "9.4.
|
|
27
|
+
var packageVersion = "9.4.8";
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* __ProgressDots__
|
|
@@ -114,8 +114,8 @@ var ProgressDots = function ProgressDots(_ref) {
|
|
|
114
114
|
ref: function ref(r) {
|
|
115
115
|
tablistRef.current = r;
|
|
116
116
|
},
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
alignInline: "center",
|
|
118
|
+
space: inlineGapValue
|
|
119
119
|
}, values.map(function (_, index) {
|
|
120
120
|
var isSelected = selectedIndex === index;
|
|
121
121
|
var tabId = "".concat(ariaLabel).concat(index);
|
package/dist/cjs/version.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
export const progressIndicatorGapMap = {
|
|
2
2
|
comfortable: {
|
|
3
|
-
small: ['
|
|
4
|
-
default: ['
|
|
5
|
-
large: ['
|
|
3
|
+
small: ['075', "var(--ds-space-075, 6px)"],
|
|
4
|
+
default: ['100', "var(--ds-space-100, 8px)"],
|
|
5
|
+
large: ['150', "var(--ds-space-150, 12px)"]
|
|
6
6
|
},
|
|
7
7
|
cozy: {
|
|
8
|
-
small: ['
|
|
9
|
-
default: ['
|
|
10
|
-
large: ['
|
|
8
|
+
small: ['050', "var(--ds-space-050, 4px)"],
|
|
9
|
+
default: ['075', "var(--ds-space-075, 6px)"],
|
|
10
|
+
large: ['100', "var(--ds-space-100, 8px)"]
|
|
11
11
|
},
|
|
12
12
|
compact: {
|
|
13
|
-
small: ['
|
|
14
|
-
default: ['
|
|
15
|
-
large: ['
|
|
13
|
+
small: ['025', "var(--ds-space-025, 2px)"],
|
|
14
|
+
default: ['050', "var(--ds-space-050, 4px)"],
|
|
15
|
+
large: ['075', "var(--ds-space-075, 6px)"]
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
export const sizes = {
|
|
@@ -4,14 +4,14 @@ import { jsx } from '@emotion/react';
|
|
|
4
4
|
import { bind } from 'bind-event-listener';
|
|
5
5
|
import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
|
|
6
6
|
import Box from '@atlaskit/ds-explorations/box';
|
|
7
|
-
import Inline from '@atlaskit/ds-explorations/inline';
|
|
8
7
|
import noop from '@atlaskit/ds-lib/noop';
|
|
8
|
+
import Inline from '@atlaskit/primitives/inline';
|
|
9
9
|
import { useGlobalTheme } from '@atlaskit/theme/components';
|
|
10
10
|
import { getBgColor } from './appearances';
|
|
11
11
|
import { progressIndicatorGapMap, sizes, varDotsMargin, varDotsSize } from './constants';
|
|
12
12
|
import { ButtonIndicator, PresentationalIndicator } from './indicator';
|
|
13
13
|
const packageName = "@atlaskit/progress-indicator";
|
|
14
|
-
const packageVersion = "9.4.
|
|
14
|
+
const packageVersion = "9.4.8";
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* __ProgressDots__
|
|
@@ -99,8 +99,8 @@ const ProgressDots = ({
|
|
|
99
99
|
ref: r => {
|
|
100
100
|
tablistRef.current = r;
|
|
101
101
|
},
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
alignInline: "center",
|
|
103
|
+
space: inlineGapValue
|
|
104
104
|
}, values.map((_, index) => {
|
|
105
105
|
const isSelected = selectedIndex === index;
|
|
106
106
|
const tabId = `${ariaLabel}${index}`;
|
package/dist/es2019/version.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
export var progressIndicatorGapMap = {
|
|
2
2
|
comfortable: {
|
|
3
|
-
small: ['
|
|
4
|
-
default: ['
|
|
5
|
-
large: ['
|
|
3
|
+
small: ['075', "var(--ds-space-075, 6px)"],
|
|
4
|
+
default: ['100', "var(--ds-space-100, 8px)"],
|
|
5
|
+
large: ['150', "var(--ds-space-150, 12px)"]
|
|
6
6
|
},
|
|
7
7
|
cozy: {
|
|
8
|
-
small: ['
|
|
9
|
-
default: ['
|
|
10
|
-
large: ['
|
|
8
|
+
small: ['050', "var(--ds-space-050, 4px)"],
|
|
9
|
+
default: ['075', "var(--ds-space-075, 6px)"],
|
|
10
|
+
large: ['100', "var(--ds-space-100, 8px)"]
|
|
11
11
|
},
|
|
12
12
|
compact: {
|
|
13
|
-
small: ['
|
|
14
|
-
default: ['
|
|
15
|
-
large: ['
|
|
13
|
+
small: ['025', "var(--ds-space-025, 2px)"],
|
|
14
|
+
default: ['050', "var(--ds-space-050, 4px)"],
|
|
15
|
+
large: ['075', "var(--ds-space-075, 6px)"]
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
export var sizes = {
|
|
@@ -6,14 +6,14 @@ import { jsx } from '@emotion/react';
|
|
|
6
6
|
import { bind } from 'bind-event-listener';
|
|
7
7
|
import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
|
|
8
8
|
import Box from '@atlaskit/ds-explorations/box';
|
|
9
|
-
import Inline from '@atlaskit/ds-explorations/inline';
|
|
10
9
|
import noop from '@atlaskit/ds-lib/noop';
|
|
10
|
+
import Inline from '@atlaskit/primitives/inline';
|
|
11
11
|
import { useGlobalTheme } from '@atlaskit/theme/components';
|
|
12
12
|
import { getBgColor } from './appearances';
|
|
13
13
|
import { progressIndicatorGapMap, sizes, varDotsMargin, varDotsSize } from './constants';
|
|
14
14
|
import { ButtonIndicator, PresentationalIndicator } from './indicator';
|
|
15
15
|
var packageName = "@atlaskit/progress-indicator";
|
|
16
|
-
var packageVersion = "9.4.
|
|
16
|
+
var packageVersion = "9.4.8";
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* __ProgressDots__
|
|
@@ -103,8 +103,8 @@ var ProgressDots = function ProgressDots(_ref) {
|
|
|
103
103
|
ref: function ref(r) {
|
|
104
104
|
tablistRef.current = r;
|
|
105
105
|
},
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
alignInline: "center",
|
|
107
|
+
space: inlineGapValue
|
|
108
108
|
}, values.map(function (_, index) {
|
|
109
109
|
var isSelected = selectedIndex === index;
|
|
110
110
|
var tabId = "".concat(ariaLabel).concat(index);
|
package/dist/esm/version.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { InlineProps } from '@atlaskit/primitives';
|
|
2
2
|
import { token } from '@atlaskit/tokens';
|
|
3
3
|
declare type TokenValue = ReturnType<typeof token>;
|
|
4
|
-
declare type ScaleValue =
|
|
4
|
+
declare type ScaleValue = InlineProps['space'];
|
|
5
5
|
declare type SpacingTuple = [ScaleValue, TokenValue];
|
|
6
6
|
declare type SpacingPropsToTokensMap = {
|
|
7
7
|
comfortable: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/progress-indicator",
|
|
3
|
-
"version": "9.4.
|
|
3
|
+
"version": "9.4.8",
|
|
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/"
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
"sideEffects": false,
|
|
16
16
|
"atlaskit:src": "src/index.tsx",
|
|
17
17
|
"atlassian": {
|
|
18
|
-
"disableProductCI": true,
|
|
19
18
|
"team": "Design System Team",
|
|
20
19
|
"releaseModel": "scheduled",
|
|
21
20
|
"website": {
|
|
@@ -24,12 +23,13 @@
|
|
|
24
23
|
}
|
|
25
24
|
},
|
|
26
25
|
"dependencies": {
|
|
27
|
-
"@atlaskit/analytics-next": "^
|
|
26
|
+
"@atlaskit/analytics-next": "^9.0.0",
|
|
28
27
|
"@atlaskit/ds-explorations": "^2.0.0",
|
|
29
28
|
"@atlaskit/ds-lib": "^2.1.0",
|
|
30
29
|
"@atlaskit/focus-ring": "^1.2.0",
|
|
30
|
+
"@atlaskit/primitives": "^0.3.0",
|
|
31
31
|
"@atlaskit/theme": "^12.2.0",
|
|
32
|
-
"@atlaskit/tokens": "^1.
|
|
32
|
+
"@atlaskit/tokens": "^1.2.0",
|
|
33
33
|
"@babel/runtime": "^7.0.0",
|
|
34
34
|
"@emotion/react": "^11.7.1",
|
|
35
35
|
"bind-event-listener": "^2.1.1"
|
|
@@ -68,8 +68,10 @@
|
|
|
68
68
|
"emotion"
|
|
69
69
|
],
|
|
70
70
|
"analytics": "analytics-next",
|
|
71
|
-
"design-tokens":
|
|
72
|
-
|
|
71
|
+
"design-tokens": [
|
|
72
|
+
"color",
|
|
73
|
+
"spacing"
|
|
74
|
+
],
|
|
73
75
|
"deprecation": "no-deprecated-imports"
|
|
74
76
|
}
|
|
75
77
|
},
|