@atlaskit/progress-bar 4.2.0 → 5.0.1
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 +35 -0
- package/package.json +8 -15
- package/progress-bar/package.json +1 -8
- package/progress-bar.docs.tsx +104 -102
- package/success-progress-bar/package.json +1 -8
- package/transparent-progress-bar/package.json +1 -8
- package/types/package.json +1 -8
- package/dist/types-ts4.5/components/progress-bar.d.ts +0 -16
- package/dist/types-ts4.5/components/success-progress-bar.d.ts +0 -12
- package/dist/types-ts4.5/components/transparent-progress-bar.d.ts +0 -12
- package/dist/types-ts4.5/entry-points/progress-bar.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/success-progress-bar.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/transparent-progress-bar.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/types.d.ts +0 -1
- package/dist/types-ts4.5/index.d.ts +0 -3
- package/dist/types-ts4.5/types.d.ts +0 -26
- package/offerings.json +0 -86
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# @atlaskit/progress-bar
|
|
2
2
|
|
|
3
|
+
## 5.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`ee28cf33718b0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ee28cf33718b0) -
|
|
8
|
+
Add @atlassian/react-compiler-gating as a runtime dependency to enable React Compiler platform
|
|
9
|
+
gating.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 5.0.0
|
|
13
|
+
|
|
14
|
+
### Major Changes
|
|
15
|
+
|
|
16
|
+
- [`f2dc9097319f0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f2dc9097319f0) - ###
|
|
17
|
+
Dropped support for _legacy_ Typescript 4 types. **Typescript 5 is now the new minimum**.
|
|
18
|
+
|
|
19
|
+
Removes the `typesVersions` property and `dist/types-ts4.5` directory from the dist.
|
|
20
|
+
|
|
21
|
+
Types are now exclusively via the `"types": "dist/types/index.d.ts"` property.
|
|
22
|
+
|
|
23
|
+
```diff
|
|
24
|
+
- "typesVersions": {
|
|
25
|
+
- ">=4.5 <4.9": {
|
|
26
|
+
- "*": [
|
|
27
|
+
- "dist/types-ts4.5/*",
|
|
28
|
+
- "dist/types-ts4.5/index.d.ts"
|
|
29
|
+
- ]
|
|
30
|
+
- }
|
|
31
|
+
- },
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Patch Changes
|
|
35
|
+
|
|
36
|
+
- Updated dependencies
|
|
37
|
+
|
|
3
38
|
## 4.2.0
|
|
4
39
|
|
|
5
40
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/progress-bar",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "A progress bar communicates the status of a system process.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -31,8 +31,9 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@atlaskit/platform-feature-flags": "^
|
|
35
|
-
"@atlaskit/tokens": "^
|
|
34
|
+
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
35
|
+
"@atlaskit/tokens": "^15.0.0",
|
|
36
|
+
"@atlassian/react-compiler-gating": "^0.2.0",
|
|
36
37
|
"@babel/runtime": "^7.0.0",
|
|
37
38
|
"@compiled/react": "^0.20.0"
|
|
38
39
|
},
|
|
@@ -43,12 +44,12 @@
|
|
|
43
44
|
"@af/accessibility-testing": "workspace:^",
|
|
44
45
|
"@af/integration-testing": "workspace:^",
|
|
45
46
|
"@af/visual-regression": "workspace:^",
|
|
46
|
-
"@atlaskit/docs": "^
|
|
47
|
-
"@atlaskit/link": "^
|
|
48
|
-
"@atlaskit/section-message": "^
|
|
49
|
-
"@atlassian/react-compiler-gating": "workspace:^",
|
|
47
|
+
"@atlaskit/docs": "^12.0.0",
|
|
48
|
+
"@atlaskit/link": "^4.0.0",
|
|
49
|
+
"@atlaskit/section-message": "^9.1.0",
|
|
50
50
|
"@atlassian/structured-docs-types": "workspace:^",
|
|
51
51
|
"@testing-library/react": "^16.3.0",
|
|
52
|
+
"react": "^18.2.0",
|
|
52
53
|
"react-dom": "^18.2.0"
|
|
53
54
|
},
|
|
54
55
|
"keywords": [
|
|
@@ -74,14 +75,6 @@
|
|
|
74
75
|
]
|
|
75
76
|
}
|
|
76
77
|
},
|
|
77
|
-
"typesVersions": {
|
|
78
|
-
">=4.5 <4.9": {
|
|
79
|
-
"*": [
|
|
80
|
-
"dist/types-ts4.5/*",
|
|
81
|
-
"dist/types-ts4.5/index.d.ts"
|
|
82
|
-
]
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
78
|
"platform-feature-flags": {
|
|
86
79
|
"platform-dst-shape-theme-default": {
|
|
87
80
|
"type": "boolean"
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"**/*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/progress-bar.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/progress-bar.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/progress-bar.d.ts"
|
|
17
10
|
}
|
package/progress-bar.docs.tsx
CHANGED
|
@@ -1,113 +1,115 @@
|
|
|
1
1
|
import path from 'path';
|
|
2
2
|
|
|
3
|
-
import type {
|
|
3
|
+
import type { StructuredContentSource } from '@atlassian/structured-docs-types/types';
|
|
4
4
|
|
|
5
|
-
const documentation:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
description:
|
|
9
|
-
'A progress bar communicates the status of a system process, showing completion percentage or indeterminate progress.',
|
|
10
|
-
status: 'general-availability',
|
|
11
|
-
import: {
|
|
5
|
+
const documentation: StructuredContentSource = {
|
|
6
|
+
components: [
|
|
7
|
+
{
|
|
12
8
|
name: 'ProgressBar',
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
'Position progress bars prominently when active',
|
|
23
|
-
'Consider providing percentage or time estimates',
|
|
24
|
-
],
|
|
25
|
-
contentGuidelines: [
|
|
26
|
-
'Use clear, descriptive progress messages',
|
|
27
|
-
'Provide meaningful context for progress',
|
|
28
|
-
'Consider showing estimated time remaining',
|
|
29
|
-
'Use consistent progress terminology',
|
|
30
|
-
],
|
|
31
|
-
accessibilityGuidelines: [
|
|
32
|
-
'Provide appropriate ARIA labels for progress bars',
|
|
33
|
-
'Announce progress changes to screen readers',
|
|
34
|
-
'Use appropriate color contrast for visibility',
|
|
35
|
-
'Provide alternative text for progress status',
|
|
36
|
-
],
|
|
37
|
-
examples: [
|
|
38
|
-
{
|
|
39
|
-
name: 'Progress Bar',
|
|
40
|
-
description: 'Progress Bar example',
|
|
41
|
-
source: path.resolve(__dirname, './examples/ai/progress-bar.tsx'),
|
|
9
|
+
description:
|
|
10
|
+
'A progress bar communicates the status of a system process, showing completion percentage or indeterminate progress.',
|
|
11
|
+
status: 'general-availability',
|
|
12
|
+
import: {
|
|
13
|
+
name: 'ProgressBar',
|
|
14
|
+
package: '@atlaskit/progress-bar',
|
|
15
|
+
type: 'default',
|
|
16
|
+
packagePath: path.resolve(__dirname),
|
|
17
|
+
packageJson: require('./package.json'),
|
|
42
18
|
},
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
19
|
+
usageGuidelines: [
|
|
20
|
+
'Use for showing progress of known duration',
|
|
21
|
+
'Provide clear progress indicators',
|
|
22
|
+
'Use indeterminate state for unknown duration',
|
|
23
|
+
'Position progress bars prominently when active',
|
|
24
|
+
'Consider providing percentage or time estimates',
|
|
25
|
+
],
|
|
26
|
+
contentGuidelines: [
|
|
27
|
+
'Use clear, descriptive progress messages',
|
|
28
|
+
'Provide meaningful context for progress',
|
|
29
|
+
'Consider showing estimated time remaining',
|
|
30
|
+
'Use consistent progress terminology',
|
|
31
|
+
],
|
|
32
|
+
accessibilityGuidelines: [
|
|
33
|
+
'Provide appropriate ARIA labels for progress bars',
|
|
34
|
+
'Announce progress changes to screen readers',
|
|
35
|
+
'Use appropriate color contrast for visibility',
|
|
36
|
+
'Provide alternative text for progress status',
|
|
37
|
+
],
|
|
38
|
+
examples: [
|
|
39
|
+
{
|
|
40
|
+
name: 'Progress Bar',
|
|
41
|
+
description: 'Progress Bar example',
|
|
42
|
+
source: path.resolve(__dirname, './examples/ai/progress-bar.tsx'),
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
keywords: ['progress', 'bar', 'loading', 'status', 'completion', 'indeterminate'],
|
|
46
|
+
categories: ['loading'],
|
|
57
47
|
},
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
'
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
],
|
|
69
|
-
examples: [
|
|
70
|
-
{
|
|
71
|
-
name: 'Success Progress Bar',
|
|
72
|
-
description: 'Success Progress Bar example',
|
|
73
|
-
source: path.resolve(__dirname, './examples/ai/success-progress-bar.tsx'),
|
|
48
|
+
{
|
|
49
|
+
name: 'SuccessProgressBar',
|
|
50
|
+
description: 'A progress bar variant that indicates successful completion of a process.',
|
|
51
|
+
status: 'general-availability',
|
|
52
|
+
import: {
|
|
53
|
+
name: 'SuccessProgressBar',
|
|
54
|
+
package: '@atlaskit/progress-bar',
|
|
55
|
+
type: 'named',
|
|
56
|
+
packagePath: path.resolve(__dirname),
|
|
57
|
+
packageJson: require('./package.json'),
|
|
74
58
|
},
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
59
|
+
usageGuidelines: [
|
|
60
|
+
'Use to indicate successful completion',
|
|
61
|
+
'Show briefly before transitioning to next state',
|
|
62
|
+
'Use appropriate success styling',
|
|
63
|
+
'Consider providing success message',
|
|
64
|
+
],
|
|
65
|
+
contentGuidelines: [
|
|
66
|
+
'Use clear success messaging',
|
|
67
|
+
'Indicate what was completed successfully',
|
|
68
|
+
'Provide next steps if applicable',
|
|
69
|
+
],
|
|
70
|
+
examples: [
|
|
71
|
+
{
|
|
72
|
+
name: 'Success Progress Bar',
|
|
73
|
+
description: 'Success Progress Bar example',
|
|
74
|
+
source: path.resolve(__dirname, './examples/ai/success-progress-bar.tsx'),
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
keywords: ['progress', 'bar', 'success', 'complete', 'finished'],
|
|
78
|
+
categories: ['loading'],
|
|
89
79
|
},
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
'
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
],
|
|
101
|
-
examples: [
|
|
102
|
-
{
|
|
103
|
-
name: 'Transparent Progress Bar',
|
|
104
|
-
description: 'Transparent Progress Bar example',
|
|
105
|
-
source: path.resolve(__dirname, './examples/ai/transparent-progress-bar.tsx'),
|
|
80
|
+
{
|
|
81
|
+
name: 'TransparentProgressBar',
|
|
82
|
+
description: 'A progress bar variant with transparent background for overlay contexts.',
|
|
83
|
+
status: 'general-availability',
|
|
84
|
+
import: {
|
|
85
|
+
name: 'TransparentProgressBar',
|
|
86
|
+
package: '@atlaskit/progress-bar',
|
|
87
|
+
type: 'named',
|
|
88
|
+
packagePath: path.resolve(__dirname),
|
|
89
|
+
packageJson: require('./package.json'),
|
|
106
90
|
},
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
91
|
+
usageGuidelines: [
|
|
92
|
+
'Use in overlay or modal contexts',
|
|
93
|
+
'Ensure sufficient contrast with background',
|
|
94
|
+
'Use for subtle progress indication',
|
|
95
|
+
'Consider backdrop visibility',
|
|
96
|
+
],
|
|
97
|
+
contentGuidelines: [
|
|
98
|
+
'Ensure progress is visible against background',
|
|
99
|
+
'Use appropriate contrast for readability',
|
|
100
|
+
'Keep progress indication clear',
|
|
101
|
+
],
|
|
102
|
+
examples: [
|
|
103
|
+
{
|
|
104
|
+
name: 'Transparent Progress Bar',
|
|
105
|
+
description: 'Transparent Progress Bar example',
|
|
106
|
+
source: path.resolve(__dirname, './examples/ai/transparent-progress-bar.tsx'),
|
|
107
|
+
},
|
|
108
|
+
],
|
|
109
|
+
keywords: ['progress', 'bar', 'transparent', 'overlay', 'subtle'],
|
|
110
|
+
categories: ['loading'],
|
|
111
|
+
},
|
|
112
|
+
],
|
|
113
|
+
};
|
|
112
114
|
|
|
113
115
|
export default documentation;
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"**/*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/success-progress-bar.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/success-progress-bar.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/success-progress-bar.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"**/*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/transparent-progress-bar.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/transparent-progress-bar.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/transparent-progress-bar.d.ts"
|
|
17
10
|
}
|
package/types/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"**/*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/types.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/types.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/types.d.ts"
|
|
17
10
|
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { type DefaultProgressBarProps } from '../types';
|
|
6
|
-
/**
|
|
7
|
-
* __Progress bar__
|
|
8
|
-
*
|
|
9
|
-
* A progress bar displays the status of a given process.
|
|
10
|
-
*
|
|
11
|
-
* - [Examples](https://atlassian.design/components/progress-bar/examples)
|
|
12
|
-
* - [Code](https://atlassian.design/components/progress-bar/code)
|
|
13
|
-
* - [Usage](https://atlassian.design/components/progress-bar/usage)
|
|
14
|
-
*/
|
|
15
|
-
declare const ProgressBar: ({ appearance, ariaLabel, isIndeterminate, testId, value, }: DefaultProgressBarProps) => JSX.Element;
|
|
16
|
-
export default ProgressBar;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type CustomProgressBarProps } from '../types';
|
|
3
|
-
/**
|
|
4
|
-
* __Success progress bar__
|
|
5
|
-
*
|
|
6
|
-
* A success progress bar indicates the completion of a process.
|
|
7
|
-
*
|
|
8
|
-
* - [Examples](https://atlassian.design/components/progress-bar/success-progress-bar/examples)
|
|
9
|
-
* - [Code](https://atlassian.design/components/progress-bar/success-progress-bar/code)
|
|
10
|
-
*/
|
|
11
|
-
declare const SuccessProgressBar: ({ ariaLabel, isIndeterminate, testId, value, }: CustomProgressBarProps) => React.JSX.Element;
|
|
12
|
-
export default SuccessProgressBar;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type CustomProgressBarProps } from '../types';
|
|
3
|
-
/**
|
|
4
|
-
* __Transparent progress bar__
|
|
5
|
-
*
|
|
6
|
-
* A transparent progress bar is used on bold backgrounds to maintain suitable contrast.
|
|
7
|
-
*
|
|
8
|
-
* - [Examples](https://atlassian.design/components/progress-bar/transparent-progress-bar/examples)
|
|
9
|
-
* - [Code](https://atlassian.design/components/progress-bar/transparent-progress-bar/code)
|
|
10
|
-
*/
|
|
11
|
-
declare const TransparentProgressBar: ({ ariaLabel, isIndeterminate, testId, value, }: CustomProgressBarProps) => React.JSX.Element;
|
|
12
|
-
export default TransparentProgressBar;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../components/progress-bar';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as SuccessProgressBar } from '../components/success-progress-bar';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as TransparentProgressBar } from '../components/transparent-progress-bar';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { CustomProgressBarProps, DefaultProgressBarProps } from '../types';
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export interface CustomProgressBarProps {
|
|
2
|
-
/**
|
|
3
|
-
* Sets the value of the progress bar, between `0` and `1` inclusive.
|
|
4
|
-
*/
|
|
5
|
-
value?: number;
|
|
6
|
-
/**
|
|
7
|
-
* Shows the progress bar in an indeterminate state when `true`.
|
|
8
|
-
*/
|
|
9
|
-
isIndeterminate?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* This is the descriptive label that's associated with the progress bar.
|
|
12
|
-
* Always include useful information on the current state of the progress bar so that people who use assistive technology can understand what the current state of the progress bar is.
|
|
13
|
-
*/
|
|
14
|
-
ariaLabel?: string;
|
|
15
|
-
/**
|
|
16
|
-
* A `testId` prop is a unique string that appears as a data attribute `data-testid` in the rendered code,
|
|
17
|
-
* serving as a hook for automated tests.
|
|
18
|
-
*/
|
|
19
|
-
testId?: string;
|
|
20
|
-
}
|
|
21
|
-
export interface DefaultProgressBarProps extends CustomProgressBarProps {
|
|
22
|
-
/**
|
|
23
|
-
* The visual style of the progress bar.
|
|
24
|
-
*/
|
|
25
|
-
appearance?: 'default' | 'success' | 'inverse';
|
|
26
|
-
}
|
package/offerings.json
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"name": "ProgressBar",
|
|
4
|
-
"package": "@atlaskit/progress-bar",
|
|
5
|
-
"import": {
|
|
6
|
-
"name": "ProgressBar",
|
|
7
|
-
"package": "@atlaskit/progress-bar",
|
|
8
|
-
"type": "default"
|
|
9
|
-
},
|
|
10
|
-
"keywords": ["progress", "bar", "loading", "status", "completion", "indeterminate"],
|
|
11
|
-
"categories": ["loading"],
|
|
12
|
-
"shortDescription": "A progress bar communicates the status of a system process, showing completion percentage or indeterminate progress.",
|
|
13
|
-
"status": "general-availability",
|
|
14
|
-
"accessibilityGuidelines": [
|
|
15
|
-
"Provide appropriate ARIA labels for progress bars",
|
|
16
|
-
"Announce progress changes to screen readers",
|
|
17
|
-
"Use appropriate color contrast for visibility",
|
|
18
|
-
"Provide alternative text for progress status"
|
|
19
|
-
],
|
|
20
|
-
"usageGuidelines": [
|
|
21
|
-
"Use for showing progress of known duration",
|
|
22
|
-
"Provide clear progress indicators",
|
|
23
|
-
"Use indeterminate state for unknown duration",
|
|
24
|
-
"Position progress bars prominently when active",
|
|
25
|
-
"Consider providing percentage or time estimates"
|
|
26
|
-
],
|
|
27
|
-
"contentGuidelines": [
|
|
28
|
-
"Use clear, descriptive progress messages",
|
|
29
|
-
"Provide meaningful context for progress",
|
|
30
|
-
"Consider showing estimated time remaining",
|
|
31
|
-
"Use consistent progress terminology"
|
|
32
|
-
],
|
|
33
|
-
"generativeInstructions": "./docs/ai/progress-bar-instructions.md",
|
|
34
|
-
"examples": ["./examples/ai/progress-bar.tsx"]
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"name": "SuccessProgressBar",
|
|
38
|
-
"package": "@atlaskit/progress-bar",
|
|
39
|
-
"import": {
|
|
40
|
-
"name": "SuccessProgressBar",
|
|
41
|
-
"package": "@atlaskit/progress-bar",
|
|
42
|
-
"type": "named"
|
|
43
|
-
},
|
|
44
|
-
"keywords": ["progress", "bar", "success", "complete", "finished"],
|
|
45
|
-
"categories": ["loading"],
|
|
46
|
-
"shortDescription": "A progress bar variant that indicates successful completion of a process.",
|
|
47
|
-
"status": "general-availability",
|
|
48
|
-
"usageGuidelines": [
|
|
49
|
-
"Use to indicate successful completion",
|
|
50
|
-
"Show briefly before transitioning to next state",
|
|
51
|
-
"Use appropriate success styling",
|
|
52
|
-
"Consider providing success message"
|
|
53
|
-
],
|
|
54
|
-
"contentGuidelines": [
|
|
55
|
-
"Use clear success messaging",
|
|
56
|
-
"Indicate what was completed successfully",
|
|
57
|
-
"Provide next steps if applicable"
|
|
58
|
-
],
|
|
59
|
-
"examples": ["./examples/ai/success-progress-bar.tsx"]
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"name": "TransparentProgressBar",
|
|
63
|
-
"package": "@atlaskit/progress-bar",
|
|
64
|
-
"import": {
|
|
65
|
-
"name": "TransparentProgressBar",
|
|
66
|
-
"package": "@atlaskit/progress-bar",
|
|
67
|
-
"type": "named"
|
|
68
|
-
},
|
|
69
|
-
"keywords": ["progress", "bar", "transparent", "overlay", "subtle"],
|
|
70
|
-
"categories": ["loading"],
|
|
71
|
-
"shortDescription": "A progress bar variant with transparent background for overlay contexts.",
|
|
72
|
-
"status": "general-availability",
|
|
73
|
-
"usageGuidelines": [
|
|
74
|
-
"Use in overlay or modal contexts",
|
|
75
|
-
"Ensure sufficient contrast with background",
|
|
76
|
-
"Use for subtle progress indication",
|
|
77
|
-
"Consider backdrop visibility"
|
|
78
|
-
],
|
|
79
|
-
"contentGuidelines": [
|
|
80
|
-
"Ensure progress is visible against background",
|
|
81
|
-
"Use appropriate contrast for readability",
|
|
82
|
-
"Keep progress indication clear"
|
|
83
|
-
],
|
|
84
|
-
"examples": ["./examples/ai/transparent-progress-bar.tsx"]
|
|
85
|
-
}
|
|
86
|
-
]
|