@atlaskit/progress-indicator 9.2.7 → 9.2.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/progress-indicator
2
2
 
3
+ ## 9.2.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
8
+
3
9
  ## 9.2.7
4
10
 
5
11
  ### Patch Changes
@@ -35,7 +35,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
35
35
 
36
36
  /** @jsx jsx */
37
37
  var packageName = "@atlaskit/progress-indicator";
38
- var packageVersion = "9.2.7";
38
+ var packageVersion = "9.2.8";
39
39
  var containerStyles = (0, _core.css)({
40
40
  display: 'flex',
41
41
  justifyContent: 'center',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/progress-indicator",
3
- "version": "9.2.7",
3
+ "version": "9.2.8",
4
4
  "sideEffects": false
5
5
  }
@@ -9,7 +9,7 @@ import { getBgColor } from './appearances';
9
9
  import { sizes, spacingDivision, varDotsMargin, varDotsSize } from './constants';
10
10
  import { ButtonIndicator, PresentationalIndicator } from './indicator';
11
11
  const packageName = "@atlaskit/progress-indicator";
12
- const packageVersion = "9.2.7";
12
+ const packageVersion = "9.2.8";
13
13
  const containerStyles = css({
14
14
  display: 'flex',
15
15
  justifyContent: 'center',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/progress-indicator",
3
- "version": "9.2.7",
3
+ "version": "9.2.8",
4
4
  "sideEffects": false
5
5
  }
@@ -11,7 +11,7 @@ import { getBgColor } from './appearances';
11
11
  import { sizes, spacingDivision, varDotsMargin, varDotsSize } from './constants';
12
12
  import { ButtonIndicator, PresentationalIndicator } from './indicator';
13
13
  var packageName = "@atlaskit/progress-indicator";
14
- var packageVersion = "9.2.7";
14
+ var packageVersion = "9.2.8";
15
15
  var containerStyles = css({
16
16
  display: 'flex',
17
17
  justifyContent: 'center',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/progress-indicator",
3
- "version": "9.2.7",
3
+ "version": "9.2.8",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/progress-indicator",
3
- "version": "9.2.7",
3
+ "version": "9.2.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/"
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@atlaskit/analytics-next": "^8.0.0",
27
- "@atlaskit/ds-lib": "^2.0.0",
27
+ "@atlaskit/ds-lib": "^2.1.0",
28
28
  "@atlaskit/focus-ring": "^1.0.0",
29
29
  "@atlaskit/theme": "^12.1.0",
30
30
  "@atlaskit/tokens": "^0.10.0",
@@ -49,7 +49,7 @@
49
49
  "react-dom": "^16.8.0",
50
50
  "react-lorem-component": "^0.13.0",
51
51
  "styled-components": "^3.2.6",
52
- "typescript": "4.2.4"
52
+ "typescript": "4.3.5"
53
53
  },
54
54
  "techstack": {
55
55
  "@atlassian/frontend": {
package/report.api.md ADDED
@@ -0,0 +1,70 @@
1
+ ## API Report File for "@atlaskit/progress-indicator"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+ /// <reference types="react" />
7
+
8
+ import { FC } from 'react';
9
+ import type { UIAnalyticsEvent } from '@atlaskit/analytics-next';
10
+
11
+ declare type DotsAppearance = 'default' | 'help' | 'inverted' | 'primary';
12
+
13
+ export declare interface ProgressDotsProps {
14
+ /**
15
+ * The color of the indicators
16
+ */
17
+ appearance?: DotsAppearance;
18
+ /**
19
+ * The aria-controls text applied to each indicator, appended by the index
20
+ */
21
+ ariaControls?: string;
22
+ /**
23
+ * The aria-label text applied to each indicator, appended by the index
24
+ */
25
+ ariaLabel?: string;
26
+ /**
27
+ * Function called when an indicator is selected
28
+ */
29
+ onSelect?: (
30
+ eventData: {
31
+ event: React.MouseEvent<HTMLButtonElement>;
32
+ index: number;
33
+ },
34
+ analyticsEvent: UIAnalyticsEvent,
35
+ ) => void;
36
+ /**
37
+ * Which indicator is currently selected
38
+ */
39
+ selectedIndex: number;
40
+ /**
41
+ * Corresponds to the width & height of each indicator
42
+ */
43
+ size?: Size;
44
+ /**
45
+ * How much of a gutter is desired between indicators
46
+ */
47
+ spacing?: Spacing;
48
+ /**
49
+ * A hook for automated tests.
50
+ */
51
+ testId?: string;
52
+ /**
53
+ * An array of values mapped over to create the indicators
54
+ */
55
+ values: any[];
56
+ }
57
+
58
+ /**
59
+ * __ProgressDots__
60
+ *
61
+ * A progress indicator shows the user where they are along the steps of a journey.
62
+ */
63
+ export declare const ProgressIndicator: FC<ProgressDotsProps>;
64
+
65
+ declare type Size = 'small' | 'default' | 'large';
66
+
67
+ declare type Spacing = 'comfortable' | 'cozy' | 'compact';
68
+
69
+ export {};
70
+ ```