@atlaskit/progress-indicator 9.3.2 → 9.3.3

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.3.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 9.3.2
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.3.2";
38
+ var packageVersion = "9.3.3";
39
39
  var containerStyles = (0, _react2.css)({
40
40
  display: 'flex',
41
41
  justifyContent: 'center',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/progress-indicator",
3
- "version": "9.3.2",
3
+ "version": "9.3.3",
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.3.2";
12
+ const packageVersion = "9.3.3";
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.3.2",
3
+ "version": "9.3.3",
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.3.2";
14
+ var packageVersion = "9.3.3";
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.3.2",
3
+ "version": "9.3.3",
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.3.2",
3
+ "version": "9.3.3",
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/"
@@ -12,14 +12,6 @@
12
12
  "module": "dist/esm/index.js",
13
13
  "module:es2019": "dist/es2019/index.js",
14
14
  "types": "dist/types/index.d.ts",
15
- "typesVersions": {
16
- ">=4.0 <4.5": {
17
- "*": [
18
- "dist/types-ts4.0/*",
19
- "dist/types-ts4.0/index.d.ts"
20
- ]
21
- }
22
- },
23
15
  "sideEffects": false,
24
16
  "atlaskit:src": "src/index.tsx",
25
17
  "atlassian": {
@@ -34,9 +26,9 @@
34
26
  "dependencies": {
35
27
  "@atlaskit/analytics-next": "^8.0.0",
36
28
  "@atlaskit/ds-lib": "^2.1.0",
37
- "@atlaskit/focus-ring": "^1.1.0",
29
+ "@atlaskit/focus-ring": "^1.2.0",
38
30
  "@atlaskit/theme": "^12.2.0",
39
- "@atlaskit/tokens": "^0.10.0",
31
+ "@atlaskit/tokens": "^0.11.0",
40
32
  "@babel/runtime": "^7.0.0",
41
33
  "@emotion/react": "^11.7.1",
42
34
  "bind-event-listener": "^2.1.1"
@@ -45,7 +37,7 @@
45
37
  "react": "^16.8.0"
46
38
  },
47
39
  "devDependencies": {
48
- "@atlaskit/button": "^16.3.0",
40
+ "@atlaskit/button": "^16.4.0",
49
41
  "@atlaskit/docs": "*",
50
42
  "@atlaskit/section-message": "^6.3.0",
51
43
  "@atlaskit/ssr": "*",
package/report.api.md CHANGED
@@ -1,6 +1,10 @@
1
- ## API Report File for "@atlaskit/progress-indicator".
1
+ ## API Report File for "@atlaskit/progress-indicator"
2
2
 
3
- > Do not edit this file. This report is auto-generated by [API Extractor](https://api-extractor.com/).
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ <!--
6
+ Generated API Report version: 2.0
7
+ -->
4
8
 
5
9
  [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
6
10
 
@@ -10,24 +14,14 @@
10
14
  import { FC } from 'react';
11
15
  import type { UIAnalyticsEvent } from '@atlaskit/analytics-next';
12
16
 
13
- declare type DotsAppearance = 'default' | 'help' | 'inverted' | 'primary';
17
+ // @public (undocumented)
18
+ type DotsAppearance = 'default' | 'help' | 'inverted' | 'primary';
14
19
 
15
- export declare interface ProgressDotsProps {
16
- /**
17
- * The color of the indicators
18
- */
20
+ // @public (undocumented)
21
+ export interface ProgressDotsProps {
19
22
  appearance?: DotsAppearance;
20
- /**
21
- * The aria-controls text applied to each indicator, appended by the index
22
- */
23
23
  ariaControls?: string;
24
- /**
25
- * The aria-label text applied to each indicator, appended by the index
26
- */
27
24
  ariaLabel?: string;
28
- /**
29
- * Function called when an indicator is selected
30
- */
31
25
  onSelect?: (
32
26
  eventData: {
33
27
  event: React.MouseEvent<HTMLButtonElement>;
@@ -35,38 +29,21 @@ export declare interface ProgressDotsProps {
35
29
  },
36
30
  analyticsEvent: UIAnalyticsEvent,
37
31
  ) => void;
38
- /**
39
- * Which indicator is currently selected
40
- */
41
32
  selectedIndex: number;
42
- /**
43
- * Corresponds to the width & height of each indicator
44
- */
45
33
  size?: Size;
46
- /**
47
- * How much of a gutter is desired between indicators
48
- */
49
34
  spacing?: Spacing;
50
- /**
51
- * A hook for automated tests.
52
- */
53
35
  testId?: string;
54
- /**
55
- * An array of values mapped over to create the indicators
56
- */
57
36
  values: any[];
58
37
  }
59
38
 
60
- /**
61
- * __ProgressDots__
62
- *
63
- * A progress indicator shows the user where they are along the steps of a journey.
64
- */
65
- export declare const ProgressIndicator: FC<ProgressDotsProps>;
39
+ // @public
40
+ export const ProgressIndicator: FC<ProgressDotsProps>;
66
41
 
67
- declare type Size = 'small' | 'default' | 'large';
42
+ // @public (undocumented)
43
+ type Size = 'small' | 'default' | 'large';
68
44
 
69
- declare type Spacing = 'comfortable' | 'cozy' | 'compact';
45
+ // @public (undocumented)
46
+ type Spacing = 'comfortable' | 'cozy' | 'compact';
70
47
 
71
- export {};
48
+ // (No @packageDocumentation comment for this package)
72
49
  ```
@@ -1,2 +0,0 @@
1
- import type { DotsAppearance } from './types';
2
- export declare const getBgColor: (appearance: DotsAppearance, isSelected: boolean) => import("@atlaskit/theme").ThemedValue<"var(--ds-background-neutral)"> | import("@atlaskit/theme").ThemedValue<"var(--ds-icon-subtle)"> | import("@atlaskit/theme").ThemedValue<"var(--ds-icon)"> | import("@atlaskit/theme").ThemedValue<"var(--ds-icon-discovery)"> | import("@atlaskit/theme").ThemedValue<"var(--ds-icon-inverse)"> | import("@atlaskit/theme").ThemedValue<"var(--ds-icon-brand)">;
@@ -1,12 +0,0 @@
1
- export declare const sizes: {
2
- small: number;
3
- default: number;
4
- large: number;
5
- };
6
- export declare const spacingDivision: {
7
- comfortable: number;
8
- cozy: number;
9
- compact: number;
10
- };
11
- export declare const varDotsSize = "--ds-dots-size";
12
- export declare const varDotsMargin = "--ds-dots-margin";
@@ -1,15 +0,0 @@
1
- /** @jsx jsx */
2
- import type { HTMLAttributes } from 'react';
3
- import { jsx } from '@emotion/react';
4
- /**
5
- * __Presentational indicator__
6
- *
7
- * A presentational indicator with no interactivity
8
- */
9
- export declare const PresentationalIndicator: (props: HTMLAttributes<HTMLDivElement>) => jsx.JSX.Element;
10
- /**
11
- * __Button indicator__
12
- *
13
- * An interactive indicator.
14
- */
15
- export declare const ButtonIndicator: (props: HTMLAttributes<HTMLButtonElement>) => jsx.JSX.Element;
@@ -1,10 +0,0 @@
1
- /** @jsx jsx */
2
- import { FC } from 'react';
3
- import type { ProgressDotsProps } from '../types';
4
- /**
5
- * __ProgressDots__
6
- *
7
- * A progress indicator shows the user where they are along the steps of a journey.
8
- */
9
- declare const ProgressDots: FC<ProgressDotsProps>;
10
- export default ProgressDots;
@@ -1,3 +0,0 @@
1
- export declare type DotsAppearance = 'default' | 'help' | 'inverted' | 'primary';
2
- export declare type Spacing = 'comfortable' | 'cozy' | 'compact';
3
- export declare type Size = 'small' | 'default' | 'large';
@@ -1,2 +0,0 @@
1
- export { default as ProgressIndicator } from './components/progress-dots';
2
- export type { ProgressDotsProps } from './types';
@@ -1,44 +0,0 @@
1
- /// <reference types="react" />
2
- import type { UIAnalyticsEvent } from '@atlaskit/analytics-next';
3
- import type { DotsAppearance, Size, Spacing } from './components/types';
4
- export interface ProgressDotsProps {
5
- /**
6
- * The color of the indicators
7
- */
8
- appearance?: DotsAppearance;
9
- /**
10
- * The aria-controls text applied to each indicator, appended by the index
11
- */
12
- ariaControls?: string;
13
- /**
14
- * The aria-label text applied to each indicator, appended by the index
15
- */
16
- ariaLabel?: string;
17
- /**
18
- * Function called when an indicator is selected
19
- */
20
- onSelect?: (eventData: {
21
- event: React.MouseEvent<HTMLButtonElement>;
22
- index: number;
23
- }, analyticsEvent: UIAnalyticsEvent) => void;
24
- /**
25
- * Which indicator is currently selected
26
- */
27
- selectedIndex: number;
28
- /**
29
- * Corresponds to the width & height of each indicator
30
- */
31
- size?: Size;
32
- /**
33
- * How much of a gutter is desired between indicators
34
- */
35
- spacing?: Spacing;
36
- /**
37
- * A hook for automated tests.
38
- */
39
- testId?: string;
40
- /**
41
- * An array of values mapped over to create the indicators
42
- */
43
- values: any[];
44
- }