@atlaskit/pagination 16.2.5 → 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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/pagination
2
2
 
3
+ ## 16.2.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 16.2.6
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 16.2.5
4
16
 
5
17
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- /* render-ellipsis.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* render-ellipsis.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* pagination.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* pagination.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* render-ellipsis.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* render-ellipsis.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import "./render-ellipsis.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- /* pagination.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* pagination.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import "./pagination.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { forwardRef, memo } from 'react';
@@ -1,4 +1,4 @@
1
- /* render-ellipsis.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* render-ellipsis.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import "./render-ellipsis.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- /* pagination.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* pagination.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
4
  import "./pagination.compiled.css";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/pagination",
3
- "version": "16.2.5",
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/"
@@ -34,12 +34,12 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@atlaskit/analytics-next": "^11.1.0",
37
- "@atlaskit/button": "^23.9.0",
37
+ "@atlaskit/button": "^23.10.0",
38
38
  "@atlaskit/css": "^0.19.0",
39
- "@atlaskit/ds-lib": "^5.3.0",
40
- "@atlaskit/icon": "^32.0.0",
39
+ "@atlaskit/ds-lib": "^6.0.0",
40
+ "@atlaskit/icon": "^33.0.0",
41
41
  "@atlaskit/primitives": "^18.0.0",
42
- "@atlaskit/tokens": "^11.0.0",
42
+ "@atlaskit/tokens": "^11.1.0",
43
43
  "@atlaskit/visually-hidden": "^3.0.0",
44
44
  "@babel/runtime": "^7.0.0",
45
45
  "memoize-one": "^6.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.4.0",
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;