@atlaskit/progress-indicator 10.2.0 → 10.3.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/README.md CHANGED
@@ -10,4 +10,5 @@ yarn add @atlaskit/progress-indicator
10
10
 
11
11
  ## Usage
12
12
 
13
- Detailed docs and example usage can be found [here](https://atlassian.design/components/progress-indicator/).
13
+ Detailed docs and example usage can be found
14
+ [here](https://atlassian.design/components/progress-indicator/).
@@ -1,94 +1,83 @@
1
- import core, { API, FileInfo, Options } from 'jscodeshift';
1
+ import { type API, type default as core, type FileInfo, type Options } from 'jscodeshift';
2
2
 
3
3
  function hasImportDeclaration(
4
- j: core.JSCodeshift,
5
- source: ReturnType<typeof j>,
6
- importPath: string,
4
+ j: core.JSCodeshift,
5
+ source: ReturnType<typeof j>,
6
+ importPath: string,
7
7
  ) {
8
- return !!source
9
- .find(j.ImportDeclaration)
10
- .filter((path) => path.node.source.value === importPath).length;
8
+ return !!source.find(j.ImportDeclaration).filter((path) => path.node.source.value === importPath)
9
+ .length;
11
10
  }
12
11
 
13
- function hasNameImport(
14
- j: core.JSCodeshift,
15
- source: ReturnType<typeof j>,
16
- importName: string,
17
- ) {
18
- return !!source
19
- .find(j.ImportDeclaration)
20
- .find(j.ImportSpecifier)
21
- .find(j.Identifier)
22
- .filter((identifier) => identifier!.value!.name === importName).length;
12
+ function hasNameImport(j: core.JSCodeshift, source: ReturnType<typeof j>, importName: string) {
13
+ return !!source
14
+ .find(j.ImportDeclaration)
15
+ .find(j.ImportSpecifier)
16
+ .find(j.Identifier)
17
+ .filter((identifier) => identifier!.value!.name === importName).length;
23
18
  }
24
19
 
25
20
  function hasVariableAlreadyDeclared(
26
- j: core.JSCodeshift,
27
- source: ReturnType<typeof j>,
28
- variableName: string,
21
+ j: core.JSCodeshift,
22
+ source: ReturnType<typeof j>,
23
+ variableName: string,
29
24
  ) {
30
- return !!source
31
- .find(j.VariableDeclaration)
32
- .find(j.VariableDeclarator)
33
- .find(j.Identifier)
34
- .filter((identifier) => identifier!.value!.name === variableName).length;
25
+ return !!source
26
+ .find(j.VariableDeclaration)
27
+ .find(j.VariableDeclarator)
28
+ .find(j.Identifier)
29
+ .filter((identifier) => identifier!.value!.name === variableName).length;
35
30
  }
36
31
 
37
- export default function transformer(
38
- fileInfo: FileInfo,
39
- { jscodeshift: j }: API,
40
- options: Options,
41
- ) {
42
- const source = j(fileInfo.source);
32
+ export default function transformer(fileInfo: FileInfo, { jscodeshift: j }: API, options: Options) {
33
+ const source = j(fileInfo.source);
43
34
 
44
- if (hasImportDeclaration(j, source, '@atlaskit/progress-indicator')) {
45
- if (hasNameImport(j, source, 'ProgressDots')) {
46
- source
47
- .find(j.ImportDeclaration)
48
- .find(j.Identifier)
49
- .filter((identifier) => identifier.value.name === 'ProgressDots')
50
- .replaceWith(j.identifier('ProgressIndicator'));
35
+ if (hasImportDeclaration(j, source, '@atlaskit/progress-indicator')) {
36
+ if (hasNameImport(j, source, 'ProgressDots')) {
37
+ source
38
+ .find(j.ImportDeclaration)
39
+ .find(j.Identifier)
40
+ .filter((identifier) => identifier.value.name === 'ProgressDots')
41
+ .replaceWith(j.identifier('ProgressIndicator'));
51
42
 
52
- if (hasVariableAlreadyDeclared(j, source, 'ProgressIndicator')) {
53
- source
54
- .find(j.ImportDeclaration)
55
- .find(j.ImportSpecifier)
56
- .filter(
57
- (specifier) => specifier!.node!.local!.name === 'ProgressIndicator',
58
- )
59
- .find(j.Identifier)
60
- .replaceWith(
61
- j.importSpecifier(
62
- j.identifier('ProgressIndicator'),
63
- j.identifier('AKProgressIndicator'),
64
- ),
65
- );
43
+ if (hasVariableAlreadyDeclared(j, source, 'ProgressIndicator')) {
44
+ source
45
+ .find(j.ImportDeclaration)
46
+ .find(j.ImportSpecifier)
47
+ .filter((specifier) => specifier!.node!.local!.name === 'ProgressIndicator')
48
+ .find(j.Identifier)
49
+ .replaceWith(
50
+ j.importSpecifier(
51
+ j.identifier('ProgressIndicator'),
52
+ j.identifier('AKProgressIndicator'),
53
+ ),
54
+ );
66
55
 
67
- source
68
- .find(j.VariableDeclarator)
69
- .find(j.Identifier)
70
- .filter((identifier) => identifier.value.name === 'ProgressDots')
71
- .replaceWith(j.identifier('AKProgressIndicator'));
56
+ source
57
+ .find(j.VariableDeclarator)
58
+ .find(j.Identifier)
59
+ .filter((identifier) => identifier.value.name === 'ProgressDots')
60
+ .replaceWith(j.identifier('AKProgressIndicator'));
72
61
 
73
- source
74
- .find(j.JSXIdentifier)
75
- .filter((identifier) => identifier.value.name === 'ProgressDots')
76
- .replaceWith(j.identifier('AKProgressIndicator'));
77
- } else {
78
- source
79
- .find(j.VariableDeclarator)
80
- .find(j.Identifier)
81
- .filter((identifier) => identifier.value.name === 'ProgressDots')
82
- .replaceWith(j.identifier('ProgressIndicator'));
83
- source
84
- .find(j.JSXIdentifier)
85
- .filter((identifier) => identifier.value.name === 'ProgressDots')
86
- .replaceWith(j.identifier('ProgressIndicator'));
87
- }
88
- }
62
+ source
63
+ .find(j.JSXIdentifier)
64
+ .filter((identifier) => identifier.value.name === 'ProgressDots')
65
+ .replaceWith(j.identifier('AKProgressIndicator'));
66
+ } else {
67
+ source
68
+ .find(j.VariableDeclarator)
69
+ .find(j.Identifier)
70
+ .filter((identifier) => identifier.value.name === 'ProgressDots')
71
+ .replaceWith(j.identifier('ProgressIndicator'));
72
+ source
73
+ .find(j.JSXIdentifier)
74
+ .filter((identifier) => identifier.value.name === 'ProgressDots')
75
+ .replaceWith(j.identifier('ProgressIndicator'));
76
+ }
77
+ }
89
78
 
90
- return source.toSource(options.printOptions || { quote: 'single' });
91
- }
79
+ return source.toSource(options.printOptions || { quote: 'single' });
80
+ }
92
81
 
93
- return fileInfo.source;
82
+ return fileInfo.source;
94
83
  }
@@ -5,54 +5,54 @@ import transformer from '../9.0.0-import-rename';
5
5
  const defineInlineTest = require('jscodeshift/dist/testUtils').defineInlineTest;
6
6
 
7
7
  describe('Update Avatar props', () => {
8
- defineInlineTest(
9
- { default: transformer, parser: 'tsx' },
10
- {},
11
- `import React from 'react';`,
12
- `import React from 'react';`,
13
- 'should not transform if imports are not present',
14
- );
8
+ defineInlineTest(
9
+ { default: transformer, parser: 'tsx' },
10
+ {},
11
+ `import React from 'react';`,
12
+ `import React from 'react';`,
13
+ 'should not transform if imports are not present',
14
+ );
15
15
 
16
- defineInlineTest(
17
- { default: transformer, parser: 'tsx' },
18
- {},
19
- `import {ProgressDots} from '@atlaskit/progress-indicator';`,
20
- `import {ProgressIndicator} from '@atlaskit/progress-indicator';`,
21
- 'transforms import name `ProgressDots` to `ProgressIndicator`',
22
- );
16
+ defineInlineTest(
17
+ { default: transformer, parser: 'tsx' },
18
+ {},
19
+ `import {ProgressDots} from '@atlaskit/progress-indicator';`,
20
+ `import {ProgressIndicator} from '@atlaskit/progress-indicator';`,
21
+ 'transforms import name `ProgressDots` to `ProgressIndicator`',
22
+ );
23
23
 
24
- defineInlineTest(
25
- { default: transformer, parser: 'tsx' },
26
- {},
27
- `import { ProgressDots as CodeComponent } from '@atlaskit/progress-indicator';`,
28
- `import { ProgressIndicator as CodeComponent } from '@atlaskit/progress-indicator';`,
29
- 'transforms import name `ProgressDots` with some other name to `ProgressIndicator`',
30
- );
24
+ defineInlineTest(
25
+ { default: transformer, parser: 'tsx' },
26
+ {},
27
+ `import { ProgressDots as CodeComponent } from '@atlaskit/progress-indicator';`,
28
+ `import { ProgressIndicator as CodeComponent } from '@atlaskit/progress-indicator';`,
29
+ 'transforms import name `ProgressDots` with some other name to `ProgressIndicator`',
30
+ );
31
31
 
32
- defineInlineTest(
33
- { default: transformer, parser: 'tsx' },
34
- {},
35
- `
32
+ defineInlineTest(
33
+ { default: transformer, parser: 'tsx' },
34
+ {},
35
+ `
36
36
  import { ProgressDots } from '@atlaskit/progress-indicator';
37
37
  const Component = () => <ProgressDots />;
38
38
  const x = <ProgressDots />
39
39
  const y = <ProgressDots ></ProgressDots>
40
40
  const z = ProgressDots
41
41
  `,
42
- `
42
+ `
43
43
  import { ProgressIndicator } from '@atlaskit/progress-indicator';
44
44
  const Component = () => <ProgressIndicator />;
45
45
  const x = <ProgressIndicator />
46
46
  const y = <ProgressIndicator ></ProgressIndicator>
47
47
  const z = ProgressIndicator
48
48
  `,
49
- 'transforms import name `ProgressDots` to `ProgressIndicator` along with its usage',
50
- );
49
+ 'transforms import name `ProgressDots` to `ProgressIndicator` along with its usage',
50
+ );
51
51
 
52
- defineInlineTest(
53
- { default: transformer, parser: 'tsx' },
54
- {},
55
- `
52
+ defineInlineTest(
53
+ { default: transformer, parser: 'tsx' },
54
+ {},
55
+ `
56
56
  import { ProgressDots } from '@atlaskit/progress-indicator';
57
57
 
58
58
  const Component = () =>{
@@ -65,7 +65,7 @@ describe('Update Avatar props', () => {
65
65
  );
66
66
  }
67
67
  `,
68
- `
68
+ `
69
69
  import { ProgressIndicator } from '@atlaskit/progress-indicator';
70
70
 
71
71
  const Component = () =>{
@@ -78,34 +78,34 @@ describe('Update Avatar props', () => {
78
78
  );
79
79
  }
80
80
  `,
81
- 'transforms import name `ProgressDots` to `ProgressIndicator` along with its usage inside component',
82
- );
81
+ 'transforms import name `ProgressDots` to `ProgressIndicator` along with its usage inside component',
82
+ );
83
83
 
84
- defineInlineTest(
85
- { default: transformer, parser: 'tsx' },
86
- {},
87
- `
84
+ defineInlineTest(
85
+ { default: transformer, parser: 'tsx' },
86
+ {},
87
+ `
88
88
  import { ProgressDots as CodeComponent } from '@atlaskit/progress-indicator';
89
89
  const Component = () => <CodeComponent />;
90
90
  `,
91
- `
91
+ `
92
92
  import { ProgressIndicator as CodeComponent } from '@atlaskit/progress-indicator';
93
93
  const Component = () => <CodeComponent />;
94
94
  `,
95
- 'transforms import name `ProgressDots` to `ProgressIndicator` with some other name along with its usage',
96
- );
95
+ 'transforms import name `ProgressDots` to `ProgressIndicator` with some other name along with its usage',
96
+ );
97
97
 
98
- defineInlineTest(
99
- { default: transformer, parser: 'tsx' },
100
- {},
101
- `
98
+ defineInlineTest(
99
+ { default: transformer, parser: 'tsx' },
100
+ {},
101
+ `
102
102
  import { ProgressDots } from '@atlaskit/progress-indicator';
103
103
  const ProgressIndicator = () => <ProgressDots />;
104
104
  `,
105
- `
105
+ `
106
106
  import { ProgressIndicator as AKProgressIndicator } from '@atlaskit/progress-indicator';
107
107
  const ProgressIndicator = () => <AKProgressIndicator />;
108
108
  `,
109
- 'transforms import name `ProgressDots` to `AKProgressIndicator` by renaming its imported name when `ProgressIndicator` variable is already declared',
110
- );
109
+ 'transforms import name `ProgressDots` to `AKProgressIndicator` by renaming its imported name when `ProgressIndicator` variable is already declared',
110
+ );
111
111
  });
@@ -44,17 +44,23 @@ var selectedColorMap = {
44
44
  })
45
45
  };
46
46
  var commonStyles = (0, _primitives.xcss)({
47
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
47
48
  width: "var(".concat(_constants.varDotsSize, ")"),
49
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
48
50
  height: "var(".concat(_constants.varDotsSize, ")"),
49
51
  position: 'relative',
50
52
  borderRadius: 'border.radius.circle',
51
53
  '::before': {
52
54
  display: 'block',
55
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
53
56
  width: "calc(var(".concat(_constants.varDotsSize, ") + var(").concat(_constants.varDotsMargin, "))"),
57
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
54
58
  height: "calc(var(".concat(_constants.varDotsSize, ") + var(").concat(_constants.varDotsMargin, "))"),
55
59
  position: 'absolute',
56
60
  content: '""',
61
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
57
62
  insetBlockStart: "calc(-1 * var(".concat(_constants.varDotsMargin, ") / 2)"),
63
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
58
64
  insetInlineStart: "calc(-1 * var(".concat(_constants.varDotsMargin, ") / 2)")
59
65
  }
60
66
  });
@@ -18,10 +18,15 @@ var _constants = require("./constants");
18
18
  var _indicator = require("./indicator");
19
19
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
20
20
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
21
+ /**
22
+ * @jsxRuntime classic
23
+ */
21
24
  /** @jsx jsx */
22
25
 
26
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
27
+
23
28
  var packageName = "@atlaskit/progress-indicator";
24
- var packageVersion = "10.2.0";
29
+ var packageVersion = "10.3.0";
25
30
 
26
31
  /**
27
32
  * __ProgressDots__
@@ -101,7 +106,9 @@ var ProgressDots = function ProgressDots(_ref) {
101
106
  }
102
107
  });
103
108
  }, [onSelect, handleKeyDown]);
104
- return (0, _react2.jsx)(_primitives.Box, {
109
+ return (0, _react2.jsx)(_primitives.Box
110
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
111
+ , {
105
112
  style: (_ref2 = {}, (0, _defineProperty2.default)(_ref2, _constants.varDotsSize, "".concat(_constants.sizes[size], "px")), (0, _defineProperty2.default)(_ref2, _constants.varDotsMargin, rawGapValue), _ref2),
106
113
  role: onSelect && 'tablist'
107
114
  }, (0, _react2.jsx)(_primitives.Inline, {
@@ -37,17 +37,23 @@ const selectedColorMap = {
37
37
  })
38
38
  };
39
39
  const commonStyles = xcss({
40
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
40
41
  width: `var(${varDotsSize})`,
42
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
41
43
  height: `var(${varDotsSize})`,
42
44
  position: 'relative',
43
45
  borderRadius: 'border.radius.circle',
44
46
  '::before': {
45
47
  display: 'block',
48
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
46
49
  width: `calc(var(${varDotsSize}) + var(${varDotsMargin}))`,
50
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
47
51
  height: `calc(var(${varDotsSize}) + var(${varDotsMargin}))`,
48
52
  position: 'absolute',
49
53
  content: '""',
54
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
50
55
  insetBlockStart: `calc(-1 * var(${varDotsMargin}) / 2)`,
56
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
51
57
  insetInlineStart: `calc(-1 * var(${varDotsMargin}) / 2)`
52
58
  }
53
59
  });
@@ -1,5 +1,10 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
5
  import React, { useCallback, useEffect, useRef } from 'react';
6
+
7
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
8
  import { jsx } from '@emotion/react';
4
9
  import { bind } from 'bind-event-listener';
5
10
  import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
@@ -8,7 +13,7 @@ import { Box, Inline } from '@atlaskit/primitives';
8
13
  import { progressIndicatorGapMap, sizes, varDotsMargin, varDotsSize } from './constants';
9
14
  import { ButtonIndicator, PresentationalIndicator } from './indicator';
10
15
  const packageName = "@atlaskit/progress-indicator";
11
- const packageVersion = "10.2.0";
16
+ const packageVersion = "10.3.0";
12
17
 
13
18
  /**
14
19
  * __ProgressDots__
@@ -83,10 +88,15 @@ const ProgressDots = ({
83
88
  }
84
89
  });
85
90
  }, [onSelect, handleKeyDown]);
86
- return jsx(Box, {
91
+ return jsx(Box
92
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
93
+ , {
87
94
  style: {
95
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
88
96
  [varDotsSize]: `${sizes[size]}px`,
97
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
89
98
  [varDotsMargin]: rawGapValue
99
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
90
100
  },
91
101
  role: onSelect && 'tablist'
92
102
  }, jsx(Inline, {
@@ -37,17 +37,23 @@ var selectedColorMap = {
37
37
  })
38
38
  };
39
39
  var commonStyles = xcss({
40
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
40
41
  width: "var(".concat(varDotsSize, ")"),
42
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
41
43
  height: "var(".concat(varDotsSize, ")"),
42
44
  position: 'relative',
43
45
  borderRadius: 'border.radius.circle',
44
46
  '::before': {
45
47
  display: 'block',
48
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
46
49
  width: "calc(var(".concat(varDotsSize, ") + var(").concat(varDotsMargin, "))"),
50
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
47
51
  height: "calc(var(".concat(varDotsSize, ") + var(").concat(varDotsMargin, "))"),
48
52
  position: 'absolute',
49
53
  content: '""',
54
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
50
55
  insetBlockStart: "calc(-1 * var(".concat(varDotsMargin, ") / 2)"),
56
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
51
57
  insetInlineStart: "calc(-1 * var(".concat(varDotsMargin, ") / 2)")
52
58
  }
53
59
  });
@@ -1,7 +1,12 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
+ /**
4
+ * @jsxRuntime classic
5
+ */
3
6
  /** @jsx jsx */
4
7
  import React, { useCallback, useEffect, useRef } from 'react';
8
+
9
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
10
  import { jsx } from '@emotion/react';
6
11
  import { bind } from 'bind-event-listener';
7
12
  import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
@@ -10,7 +15,7 @@ import { Box, Inline } from '@atlaskit/primitives';
10
15
  import { progressIndicatorGapMap, sizes, varDotsMargin, varDotsSize } from './constants';
11
16
  import { ButtonIndicator, PresentationalIndicator } from './indicator';
12
17
  var packageName = "@atlaskit/progress-indicator";
13
- var packageVersion = "10.2.0";
18
+ var packageVersion = "10.3.0";
14
19
 
15
20
  /**
16
21
  * __ProgressDots__
@@ -90,7 +95,9 @@ var ProgressDots = function ProgressDots(_ref) {
90
95
  }
91
96
  });
92
97
  }, [onSelect, handleKeyDown]);
93
- return jsx(Box, {
98
+ return jsx(Box
99
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
100
+ , {
94
101
  style: (_ref2 = {}, _defineProperty(_ref2, varDotsSize, "".concat(sizes[size], "px")), _defineProperty(_ref2, varDotsMargin, rawGapValue), _ref2),
95
102
  role: onSelect && 'tablist'
96
103
  }, jsx(Inline, {
@@ -10,7 +10,7 @@ type CommonProps = {
10
10
  *
11
11
  * A presentational indicator with no interactivity
12
12
  */
13
- export declare const PresentationalIndicator: ({ appearance, isSelected, testId, }: CommonProps) => JSX.Element;
13
+ export declare const PresentationalIndicator: ({ appearance, isSelected, testId }: CommonProps) => JSX.Element;
14
14
  type ButtonIndicatorProps = {
15
15
  panelId: string;
16
16
  tabId: string;
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
5
  import { type FC } from 'react';
3
6
  import type { ProgressDotsProps } from '../types';
@@ -10,7 +10,7 @@ type CommonProps = {
10
10
  *
11
11
  * A presentational indicator with no interactivity
12
12
  */
13
- export declare const PresentationalIndicator: ({ appearance, isSelected, testId, }: CommonProps) => JSX.Element;
13
+ export declare const PresentationalIndicator: ({ appearance, isSelected, testId }: CommonProps) => JSX.Element;
14
14
  type ButtonIndicatorProps = {
15
15
  panelId: string;
16
16
  tabId: string;
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
5
  import { type FC } from 'react';
3
6
  import type { ProgressDotsProps } from '../types';