@atlaskit/pagination 16.2.6 → 16.2.7
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 +6 -0
- package/package.json +4 -3
- package/pagination.docs.tsx +47 -0
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/pagination",
|
|
3
|
-
"version": "16.2.
|
|
3
|
+
"version": "16.2.7",
|
|
4
4
|
"description": "Pagination allows you to divide large amounts of content into smaller chunks across multiple pages.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@atlaskit/button": "^23.10.0",
|
|
38
38
|
"@atlaskit/css": "^0.19.0",
|
|
39
39
|
"@atlaskit/ds-lib": "^6.0.0",
|
|
40
|
-
"@atlaskit/icon": "^
|
|
40
|
+
"@atlaskit/icon": "^33.0.0",
|
|
41
41
|
"@atlaskit/primitives": "^18.0.0",
|
|
42
42
|
"@atlaskit/tokens": "^11.1.0",
|
|
43
43
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
@@ -52,11 +52,12 @@
|
|
|
52
52
|
"@af/integration-testing": "workspace:^",
|
|
53
53
|
"@af/visual-regression": "workspace:^",
|
|
54
54
|
"@atlaskit/code": "^17.4.0",
|
|
55
|
-
"@atlaskit/docs": "^11.
|
|
55
|
+
"@atlaskit/docs": "^11.7.0",
|
|
56
56
|
"@atlaskit/heading": "^5.3.0",
|
|
57
57
|
"@atlaskit/link": "^3.3.0",
|
|
58
58
|
"@atlaskit/section-message": "^8.12.0",
|
|
59
59
|
"@atlassian/ssr-tests": "workspace:^",
|
|
60
|
+
"@atlassian/structured-docs-types": "workspace:^",
|
|
60
61
|
"@testing-library/dom": "^10.1.0",
|
|
61
62
|
"@testing-library/react": "^16.3.0",
|
|
62
63
|
"react-dom": "^18.2.0"
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import path from 'path';
|
|
2
|
+
|
|
3
|
+
import type { ComponentStructuredContentSource } from '@atlassian/structured-docs-types';
|
|
4
|
+
|
|
5
|
+
const documentation: ComponentStructuredContentSource[] = [
|
|
6
|
+
{
|
|
7
|
+
name: 'Pagination',
|
|
8
|
+
description: 'A component for pagination controls.',
|
|
9
|
+
status: 'general-availability',
|
|
10
|
+
import: {
|
|
11
|
+
name: 'Pagination',
|
|
12
|
+
package: '@atlaskit/pagination',
|
|
13
|
+
type: 'default',
|
|
14
|
+
packagePath: path.resolve(__dirname),
|
|
15
|
+
packageJson: require('./package.json'),
|
|
16
|
+
},
|
|
17
|
+
usageGuidelines: [
|
|
18
|
+
'Use for navigating through paged content',
|
|
19
|
+
'Provide clear page indicators',
|
|
20
|
+
'Consider total page count display',
|
|
21
|
+
'Use appropriate page limits',
|
|
22
|
+
],
|
|
23
|
+
contentGuidelines: [
|
|
24
|
+
'Use clear page labels',
|
|
25
|
+
'Provide meaningful navigation text',
|
|
26
|
+
'Use consistent pagination terminology',
|
|
27
|
+
'Consider page context information',
|
|
28
|
+
],
|
|
29
|
+
accessibilityGuidelines: [
|
|
30
|
+
'Provide clear page navigation labels',
|
|
31
|
+
'Use appropriate ARIA labels for pagination',
|
|
32
|
+
'Ensure keyboard navigation support',
|
|
33
|
+
'Announce page changes to screen readers',
|
|
34
|
+
],
|
|
35
|
+
examples: [
|
|
36
|
+
{
|
|
37
|
+
name: 'Pagination',
|
|
38
|
+
description: 'Pagination example',
|
|
39
|
+
source: path.resolve(__dirname, './examples/ai/pagination.tsx'),
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
keywords: ['pagination', 'pages', 'navigation', 'paging', 'controls'],
|
|
43
|
+
categories: ['navigation'],
|
|
44
|
+
},
|
|
45
|
+
];
|
|
46
|
+
|
|
47
|
+
export default documentation;
|