@atlaskit/range 10.1.0 → 10.1.2
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/afm-cc/tsconfig.json +0 -1
- package/afm-products/tsconfig.json +0 -1
- package/package.json +5 -4
- package/range.docs.tsx +41 -39
- package/afm-jira/tsconfig.json +0 -42
- package/offerings.json +0 -34
package/CHANGELOG.md
CHANGED
package/afm-cc/tsconfig.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/range",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.2",
|
|
4
4
|
"description": "A range lets users choose an approximate value on a slider.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@atlaskit/css": "^0.19.0",
|
|
35
35
|
"@atlaskit/ds-lib": "^7.0.0",
|
|
36
36
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
37
|
-
"@atlaskit/theme": "^
|
|
37
|
+
"@atlaskit/theme": "^25.0.0",
|
|
38
38
|
"@atlaskit/tokens": "^13.0.0",
|
|
39
39
|
"@babel/runtime": "^7.0.0",
|
|
40
40
|
"@compiled/react": "^0.20.0"
|
|
@@ -52,13 +52,14 @@
|
|
|
52
52
|
"@atlaskit/form": "^15.5.0",
|
|
53
53
|
"@atlaskit/link": "^3.4.0",
|
|
54
54
|
"@atlaskit/primitives": "^19.0.0",
|
|
55
|
-
"@atlaskit/section-message": "^8.
|
|
56
|
-
"@atlaskit/tooltip": "^
|
|
55
|
+
"@atlaskit/section-message": "^8.13.0",
|
|
56
|
+
"@atlaskit/tooltip": "^22.3.0",
|
|
57
57
|
"@atlassian/react-compiler-gating": "workspace:^",
|
|
58
58
|
"@atlassian/ssr-tests": "workspace:^",
|
|
59
59
|
"@atlassian/structured-docs-types": "workspace:^",
|
|
60
60
|
"@testing-library/react": "^16.3.0",
|
|
61
61
|
"lodash": "^4.17.21",
|
|
62
|
+
"react": "^18.2.0",
|
|
62
63
|
"react-dom": "^18.2.0"
|
|
63
64
|
},
|
|
64
65
|
"keywords": [
|
package/range.docs.tsx
CHANGED
|
@@ -1,47 +1,49 @@
|
|
|
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: 'A component for selecting a value from a range of values.',
|
|
9
|
-
status: 'general-availability',
|
|
10
|
-
import: {
|
|
5
|
+
const documentation: StructuredContentSource = {
|
|
6
|
+
components: [
|
|
7
|
+
{
|
|
11
8
|
name: 'Range',
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
packageJson: require('./package.json'),
|
|
16
|
-
},
|
|
17
|
-
usageGuidelines: [
|
|
18
|
-
'Use for selecting numeric values within a range',
|
|
19
|
-
'Provide clear min/max boundaries',
|
|
20
|
-
'Use appropriate step increments',
|
|
21
|
-
'Consider showing current value',
|
|
22
|
-
],
|
|
23
|
-
contentGuidelines: [
|
|
24
|
-
'Use clear range labels',
|
|
25
|
-
'Provide meaningful min/max labels',
|
|
26
|
-
'Show current value when helpful',
|
|
27
|
-
'Use consistent range terminology',
|
|
28
|
-
],
|
|
29
|
-
accessibilityGuidelines: [
|
|
30
|
-
'Provide clear labels for range inputs',
|
|
31
|
-
'Use appropriate ARIA attributes',
|
|
32
|
-
'Ensure keyboard navigation support',
|
|
33
|
-
'Provide value announcements for screen readers',
|
|
34
|
-
],
|
|
35
|
-
examples: [
|
|
36
|
-
{
|
|
9
|
+
description: 'A component for selecting a value from a range of values.',
|
|
10
|
+
status: 'general-availability',
|
|
11
|
+
import: {
|
|
37
12
|
name: 'Range',
|
|
38
|
-
|
|
39
|
-
|
|
13
|
+
package: '@atlaskit/range',
|
|
14
|
+
type: 'default',
|
|
15
|
+
packagePath: path.resolve(__dirname),
|
|
16
|
+
packageJson: require('./package.json'),
|
|
40
17
|
},
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
18
|
+
usageGuidelines: [
|
|
19
|
+
'Use for selecting numeric values within a range',
|
|
20
|
+
'Provide clear min/max boundaries',
|
|
21
|
+
'Use appropriate step increments',
|
|
22
|
+
'Consider showing current value',
|
|
23
|
+
],
|
|
24
|
+
contentGuidelines: [
|
|
25
|
+
'Use clear range labels',
|
|
26
|
+
'Provide meaningful min/max labels',
|
|
27
|
+
'Show current value when helpful',
|
|
28
|
+
'Use consistent range terminology',
|
|
29
|
+
],
|
|
30
|
+
accessibilityGuidelines: [
|
|
31
|
+
'Provide clear labels for range inputs',
|
|
32
|
+
'Use appropriate ARIA attributes',
|
|
33
|
+
'Ensure keyboard navigation support',
|
|
34
|
+
'Provide value announcements for screen readers',
|
|
35
|
+
],
|
|
36
|
+
examples: [
|
|
37
|
+
{
|
|
38
|
+
name: 'Range',
|
|
39
|
+
description: 'Range example',
|
|
40
|
+
source: path.resolve(__dirname, './examples/ai/range.tsx'),
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
keywords: ['range', 'slider', 'input', 'form', 'value', 'selection'],
|
|
44
|
+
categories: ['form'],
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
};
|
|
46
48
|
|
|
47
49
|
export default documentation;
|
package/afm-jira/tsconfig.json
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../../../tsconfig.local-consumption.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"target": "es5",
|
|
5
|
-
"outDir": "../../../../../jira/tsDist/@atlaskit__range/app",
|
|
6
|
-
"rootDir": "../",
|
|
7
|
-
"composite": true,
|
|
8
|
-
"noCheck": true
|
|
9
|
-
},
|
|
10
|
-
"include": [
|
|
11
|
-
"../src/**/*.ts",
|
|
12
|
-
"../src/**/*.tsx"
|
|
13
|
-
],
|
|
14
|
-
"exclude": [
|
|
15
|
-
"../src/**/__tests__/*",
|
|
16
|
-
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*",
|
|
18
|
-
"../src/**/examples.*",
|
|
19
|
-
"../src/**/examples/*",
|
|
20
|
-
"../src/**/examples/**/*",
|
|
21
|
-
"../src/**/*.stories.*",
|
|
22
|
-
"../src/**/stories/*",
|
|
23
|
-
"../src/**/stories/**/*"
|
|
24
|
-
],
|
|
25
|
-
"references": [
|
|
26
|
-
{
|
|
27
|
-
"path": "../../css/afm-jira/tsconfig.json"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"path": "../../ds-lib/afm-jira/tsconfig.json"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"path": "../../../platform/feature-flags/afm-jira/tsconfig.json"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"path": "../../theme/afm-jira/tsconfig.json"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"path": "../../tokens/afm-jira/tsconfig.json"
|
|
40
|
-
}
|
|
41
|
-
]
|
|
42
|
-
}
|
package/offerings.json
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"name": "Range",
|
|
4
|
-
"package": "@atlaskit/range",
|
|
5
|
-
"import": {
|
|
6
|
-
"name": "Range",
|
|
7
|
-
"package": "@atlaskit/range",
|
|
8
|
-
"type": "default"
|
|
9
|
-
},
|
|
10
|
-
"keywords": ["range", "slider", "input", "form", "value", "selection"],
|
|
11
|
-
"categories": ["form"],
|
|
12
|
-
"shortDescription": "A component for selecting a value from a range of values.",
|
|
13
|
-
"status": "general-availability",
|
|
14
|
-
"accessibilityGuidelines": [
|
|
15
|
-
"Provide clear labels for range inputs",
|
|
16
|
-
"Use appropriate ARIA attributes",
|
|
17
|
-
"Ensure keyboard navigation support",
|
|
18
|
-
"Provide value announcements for screen readers"
|
|
19
|
-
],
|
|
20
|
-
"usageGuidelines": [
|
|
21
|
-
"Use for selecting numeric values within a range",
|
|
22
|
-
"Provide clear min/max boundaries",
|
|
23
|
-
"Use appropriate step increments",
|
|
24
|
-
"Consider showing current value"
|
|
25
|
-
],
|
|
26
|
-
"contentGuidelines": [
|
|
27
|
-
"Use clear range labels",
|
|
28
|
-
"Provide meaningful min/max labels",
|
|
29
|
-
"Show current value when helpful",
|
|
30
|
-
"Use consistent range terminology"
|
|
31
|
-
],
|
|
32
|
-
"examples": ["./examples/ai/range.tsx"]
|
|
33
|
-
}
|
|
34
|
-
]
|