Pagination

Pagination allows you to divide large amounts of content into smaller chunks across multiple pages.

17.3.4

Patch Changes

  • Updated dependencies

17.3.3

Patch Changes

  • Updated dependencies

17.3.2

Patch Changes

  • Updated dependencies

17.3.1

Patch Changes

  • Updated dependencies

17.3.0

Minor Changes

Patch Changes

  • Updated dependencies

17.2.1

Patch Changes

17.2.0

Minor Changes

  • d82e6f76528ab, (opens new window) - Add direct subpath package exports as part of the linking-platform, search, media, and design-system barrel-removal (de-barrel) migration.

    These packages now expose their individual modules via explicit package.json exports subpaths so that consumers can import directly from the leaf module (e.g. @atlaskit/pkg/thing) instead of the package barrel/index. This adds new public entry points without changing or removing any existing exports, so it is a backwards-compatible additive change.

    No runtime behaviour changes; this is an API-surface (entry-point) addition to support tree-shaking and to unblock removal of the barrel index files.

Patch Changes

  • Updated dependencies

17.1.6

Patch Changes

  • Updated dependencies

17.1.5

Patch Changes

  • Updated dependencies

17.1.4

Patch Changes

  • Updated dependencies

17.1.3

Patch Changes

  • Updated dependencies

17.1.2

Patch Changes

  • Updated dependencies

17.1.1

Patch Changes

  • 820f00bd7db09, (opens new window) - Enable platform-dst-motion-uplift-button by default in constellation examples so button motion is previewed in component demos. Docs/examples-only; no change to shipped component behaviour.

17.1.0

Minor Changes

  • cd097a2111788, (opens new window) - Republish packages depending on @atlaskit/react-compiler-gating so their published dependency reference is updated to the renamed @atlaskit/react-compiler-gating scope.

    The earlier rename of @atlassian/react-compiler-gating to @atlaskit/react-compiler-gating only bumped the renamed package itself, so dependent packages were never republished and their published versions still referenced the old @atlassian/react-compiler-gating name, which is not available in the public npm registry. This minor bump republishes all affected packages with the corrected dependency.

Patch Changes

  • Updated dependencies

17.0.1

Patch Changes

17.0.0

Major Changes

  • f2dc9097319f0, (opens new window) - ### Dropped support for legacy Typescript 4 types. Typescript 5 is now the new minimum.

    Removes the typesVersions property and dist/types-ts4.5 directory from the dist.

    Types are now exclusively via the "types": "dist/types/index.d.ts" property.

    - "typesVersions": { - ">=4.5 <4.9": { - "*": [ - "dist/types-ts4.5/*", - "dist/types-ts4.5/index.d.ts" - ] - } - },

Patch Changes

  • Updated dependencies

16.3.1

Patch Changes

  • Updated dependencies

16.3.0

Minor Changes

16.2.11

Patch Changes

  • Updated dependencies

16.2.10

Patch Changes

  • Updated dependencies

16.2.9

Patch Changes

16.2.8

Patch Changes

  • Updated dependencies

16.2.7

Patch Changes

  • Updated dependencies

16.2.6

Patch Changes

  • Updated dependencies

16.2.5

Patch Changes

  • Updated dependencies

16.2.4

Patch Changes

  • Updated dependencies

16.2.3

Patch Changes

  • Updated dependencies

16.2.2

Patch Changes

  • Updated dependencies

16.2.1

Patch Changes

  • Updated dependencies

16.2.0

Minor Changes

16.1.23

Patch Changes

  • Updated dependencies

16.1.22

Patch Changes

16.1.21

Patch Changes

  • Updated dependencies

16.1.20

Patch Changes

16.1.19

Patch Changes

  • Updated dependencies

16.1.18

Patch Changes

  • Updated dependencies

16.1.17

Patch Changes

  • Updated dependencies

16.1.16

Patch Changes

  • Updated dependencies

16.1.15

Patch Changes

  • Updated dependencies

16.1.14

Patch Changes

  • Updated dependencies

16.1.13

Patch Changes

  • Updated dependencies

16.1.12

Patch Changes

  • Updated dependencies

16.1.11

Patch Changes

  • Updated dependencies

16.1.10

Patch Changes

  • Updated dependencies

16.1.9

Patch Changes

  • Updated dependencies

16.1.8

Patch Changes

  • Updated dependencies

16.1.7

Patch Changes

16.1.6

Patch Changes

  • Updated dependencies

16.1.5

Patch Changes

  • Updated dependencies

16.1.4

Patch Changes

  • Updated dependencies

16.1.3

Patch Changes

  • Updated dependencies

16.1.2

Patch Changes

16.1.1

Patch Changes

  • Updated dependencies

16.1.0

Minor Changes

Patch Changes

  • Updated dependencies

16.0.5

Patch Changes

  • Updated dependencies

16.0.4

Patch Changes

  • Updated dependencies

16.0.3

Patch Changes

  • Updated dependencies

16.0.2

Patch Changes

  • Updated dependencies

16.0.1

Patch Changes

16.0.0

Major Changes

Patch Changes

  • Updated dependencies

15.2.2

Patch Changes

15.2.1

Patch Changes

  • Updated dependencies

15.2.0

Minor Changes

Patch Changes

  • Updated dependencies

15.1.0

Minor Changes

Patch Changes

  • Updated dependencies

15.0.2

Patch Changes

15.0.1

Patch Changes

  • Updated dependencies

15.0.0

Major Changes

  • #174375, (opens new window) 4a3e12575f8ef, (opens new window) - Migrated from @emotion/react to @compiled/react in order to improve performance, align with the rest of the Atlaskit techstack, and support React 18 Streaming SSR.

    Please note, in order to use this version of @atlaskit/pagination, you will need to ensure that your bundler is configured to handle .css imports correctly. Most bundlers come with built-in support for .css imports, so you may not need to do anything. If you are using a different bundler, please refer to the documentation for that bundler to understand how to handle .css imports.

    For more information on the migration, please refer to RFC-73 Migrating our components to Compiled CSS-in-JS, (opens new window).

14.10.1

Patch Changes

  • Updated dependencies

14.10.0

Minor Changes

14.9.5

Patch Changes

14.9.4

Patch Changes

  • Updated dependencies

14.9.3

Patch Changes

  • Updated dependencies

14.9.2

Patch Changes

14.9.1

Patch Changes

  • Updated dependencies

14.9.0

Minor Changes

14.8.1

Patch Changes

  • Updated dependencies

14.8.0

Minor Changes

  • #127511, (opens new window) db30e29344013, (opens new window) - Widening range of react and react-dom peer dependencies from ^16.8.0 || ^17.0.0 || ~18.2.0 to the wider range of ``^16.8.0 || ^17.0.0 || ^18.0.0` (where applicable).

    This change has been done to enable usage of react@18.3 as well as to have a consistent peer dependency range for react and react-dom for /platform packages.

Patch Changes

  • Updated dependencies

14.7.11

Patch Changes

  • Updated dependencies

14.7.10

Patch Changes

  • Updated dependencies

14.7.9

Patch Changes

  • Updated dependencies

14.7.8

Patch Changes

14.7.7

Patch Changes

  • Updated dependencies

14.7.6

Patch Changes

  • Updated dependencies

14.7.5

Patch Changes

  • Updated dependencies

14.7.4

Patch Changes

  • Updated dependencies

14.7.3

Patch Changes

  • Updated dependencies

14.7.2

Patch Changes

  • Updated dependencies

14.7.1

Patch Changes

14.7.0

Minor Changes

14.6.6

Patch Changes

  • Updated dependencies

14.6.5

Patch Changes

14.6.4

Patch Changes

14.6.3

Patch Changes

14.6.2

Patch Changes

  • Updated dependencies

14.6.1

Patch Changes

14.6.0

Minor Changes

14.5.3

Patch Changes

  • Updated dependencies

14.5.2

Patch Changes

  • Updated dependencies

14.5.1

Patch Changes

  • Updated dependencies

14.5.0

Minor Changes

14.4.17

Patch Changes

  • Updated dependencies

14.4.16

Patch Changes

  • Updated dependencies

14.4.15

Patch Changes

14.4.14

Patch Changes

  • Updated dependencies

14.4.13

Patch Changes

14.4.12

Patch Changes

14.4.11

Patch Changes

14.4.10

Patch Changes

14.4.9

Patch Changes

  • Updated dependencies

14.4.8

Patch Changes

  • Updated dependencies

14.4.7

Patch Changes

  • Updated dependencies

14.4.6

Patch Changes

14.4.5

Patch Changes

  • Updated dependencies

14.4.4

Patch Changes

  • Updated dependencies

14.4.3

Patch Changes

  • Updated dependencies

14.4.2

Patch Changes

  • Updated dependencies

14.4.1

Patch Changes

  • Updated dependencies

14.4.0

Minor Changes

14.3.2

Patch Changes

14.3.1

Patch Changes

14.3.0

Minor Changes

Patch Changes

  • Updated dependencies

14.2.15

Patch Changes

14.2.14

Patch Changes

  • Updated dependencies

14.2.13

Patch Changes

  • Updated dependencies

14.2.12

Patch Changes

  • Updated dependencies

14.2.11

Patch Changes

  • Updated dependencies

14.2.10

Patch Changes

  • Updated dependencies

14.2.9

Patch Changes

14.2.8

Patch Changes

  • Updated dependencies

14.2.7

Patch Changes

14.2.6

Patch Changes

14.2.5

Patch Changes

14.2.4

Patch Changes

14.2.3

Patch Changes

  • Updated dependencies

14.2.2

Patch Changes

14.2.1

Patch Changes

14.2.0

Minor Changes

Patch Changes

  • Updated dependencies

14.1.10

Patch Changes

14.1.9

Patch Changes

14.1.8

Patch Changes

  • Updated dependencies

14.1.7

Patch Changes

14.1.6

Patch Changes

14.1.5

Patch Changes

  • Updated dependencies

14.1.4

Patch Changes

14.1.3

Patch Changes

14.1.2

Patch Changes

14.1.1

Patch Changes

  • Updated dependencies

14.1.0

Minor Changes

Patch Changes

14.0.4

Patch Changes

  • Updated dependencies

14.0.3

Patch Changes

14.0.2

Patch Changes

14.0.1

Patch Changes

14.0.0

Major Changes

  • #10569, (opens new window) 517850f6451, (opens new window) - In this version we made pagination dramatically faster and lighter 🤩

    • General performance improvements.

    • Accesbility improvemnts (Change Pagination wrapper tag from div to nav).

    • Changed to on demand dyanmic generation of page components for better performance.

    • BREAKING Renamed innerStyles -> style prop & PaginationPropTypes -> PaginationProps. Removed i18n prop and flattened its child props prev, next as standalone props nextLabeland prevLabel. Added label prop for adding aria-label on pagination wrapper. Removed collapseRange props beacause of its limited use & achieving better performance.

    Running the codemod cli

    To run the codemod: You first need to have the latest version installed

    yarn upgrade @atlaskit/pagination@^14.0.0

    Once upgraded, use @atlaskit/codemod-cli:

    npx @atlaskit/codemod-cli --parser babel --extensions ts,tsx,js [relativePath]

    The CLI will show a list of components and versions so select @atlaskit/pagination@^14.0.0 and you will automatically be upgraded. If your usage of pagination cannot be upgraded, a comment will be left that a manual change is required.

    Run npx @atlaskit/codemod-cli -h for more details on usage. For Atlassians, refer to the documentation, (opens new window) for more details on the codemod CLI.

Patch Changes

13.2.0

Minor Changes

Patch Changes

13.1.0

Minor Changes

13.0.10

Patch Changes

13.0.9

Patch Changes

13.0.8

Patch Changes

13.0.7

Patch Changes

  • Updated dependencies

13.0.6

Patch Changes

13.0.5

Patch Changes

  • Updated dependencies

13.0.4

Patch Changes

13.0.3

Patch Changes

13.0.2

Patch Changes

13.0.1

Patch Changes

13.0.0

Major Changes

Patch Changes

  • Updated dependencies

12.0.21

Patch Changes

12.0.20

Patch Changes

12.0.19

Patch Changes

  • [patch]6548261c9a, (opens new window):

    Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies 6548261c9a, (opens new window):

    • @atlaskit/docs@8.3.2
    • @atlaskit/visual-regression@0.1.9
    • @atlaskit/analytics-next@6.3.5
    • @atlaskit/button@13.3.7
    • @atlaskit/dynamic-table@13.6.2
    • @atlaskit/icon@20.0.1
    • @atlaskit/section-message@4.1.5
    • @atlaskit/theme@9.5.1

12.0.18

Patch Changes

12.0.17

Patch Changes

12.0.16

Patch Changes

12.0.15

Patch Changes

12.0.14

Patch Changes

  • [patch]097b696613, (opens new window):

    Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving non-relative imports as relative imports

12.0.13

Patch Changes

12.0.12

Patch Changes

12.0.11

Patch Changes

12.0.10

Patch Changes

  • [patch]926b43142b, (opens new window):

    Analytics-next has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided. No behavioural changes.

    Breaking changes

    • withAnalyticsForSumTypeProps alias has been removed, please use withAnalyticsEvents
    • AnalyticsContextWrappedComp alias has been removed, please use withAnalyticsContext

    Breaking changes to TypeScript annotations

    • withAnalyticsEvents now infers proptypes automatically, consumers no longer need to provide props as a generic type.
    • withAnalyticsContext now infers proptypes automatically, consumers no longer need to provide props as a generic type.
    • Type WithAnalyticsEventProps has been renamed to WithAnalyticsEventsProps to match source code
    • Type CreateUIAnalyticsEventSignature has been renamed to CreateUIAnalyticsEvent to match source code
    • Type UIAnalyticsEventHandlerSignature has been renamed to UIAnalyticsEventHandler to match source code
    • Type AnalyticsEventsPayload has been renamed to AnalyticsEventPayload
    • Type ObjectType has been removed, please use Record<string, any> or [key: string]: any
    • Type UIAnalyticsEventInterface has been removed, please use UIAnalyticsEvent
    • Type AnalyticsEventInterface has been removed, please use AnalyticsEvent
    • Type CreateAndFireEventFunction removed and should now be inferred by TypeScript
    • Type AnalyticsEventUpdater removed and should now be inferred by TypeScript

12.0.9

Patch Changes

12.0.8

Patch Changes

12.0.7

Patch Changes

12.0.6

Patch Changes

  • [patch]d0db01b410, (opens new window):

    TypeScript users of withAnalyticsEvents and withAnalyticsContext are now required to provide props as a generic type. This is so that TypeScript can correctly calculate the props and defaultProps of the returned component.

    Before:

    withAnalyticsEvents()(Button) as ComponentClass<Props>;

    After:

    withAnalyticsEvents<Props>()(Button);

12.0.5

12.0.4

Patch Changes

12.0.3

Patch Changes

12.0.2

12.0.1

  • [patch]b0ef06c685, (opens new window):
    • This is just a safety release in case anything strange happened in in the previous one. See Pull Request #5942 for details

12.0.0

  • [major]8c65f23d32, (opens new window):
    • @atlaskit/pagination has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided. No API or behavioural changes.

11.0.2

11.0.1

11.0.0

  • [major]7c17b35107, (opens new window):
    • Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use this package, please ensure you use at least this version of react and react-dom.

10.0.4

  • Updated dependencies 9c0b4744be, (opens new window):
    • @atlaskit/docs@7.0.3
    • @atlaskit/button@12.0.3
    • @atlaskit/dynamic-table@11.0.3
    • @atlaskit/icon@16.0.9
    • @atlaskit/section-message@2.0.3
    • @atlaskit/theme@8.1.7

10.0.3

  • Updated dependencies 1e826b2966, (opens new window):
    • @atlaskit/docs@7.0.2
    • @atlaskit/analytics-next@4.0.3
    • @atlaskit/dynamic-table@11.0.2
    • @atlaskit/icon@16.0.8
    • @atlaskit/section-message@2.0.2
    • @atlaskit/theme@8.1.6
    • @atlaskit/button@12.0.0

10.0.2

10.0.1

  • Updated dependencies 9d5cc39394, (opens new window):
    • @atlaskit/docs@7.0.1
    • @atlaskit/analytics-next@4.0.1
    • @atlaskit/dynamic-table@11.0.1
    • @atlaskit/icon@16.0.5
    • @atlaskit/section-message@2.0.1
    • @atlaskit/theme@8.0.1
    • @atlaskit/button@11.0.0

10.0.0

  • [major]76299208e6, (opens new window):

    • Drop ES5 from all the flow modules

    Dropping CJS support in all @atlaskit packages

    As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only distribute esm. This means all distributed code will be transpiled, but will still contain import and export declarations.

    The major reason for doing this is to allow us to support multiple entry points in packages, e.g:

    import colors from `@atlaskit/theme/colors`;

    Previously this was sort of possible for consumers by doing something like:

    import colors from `@atlaskit/theme/dist/esm/colors`;

    This has a couple of issues. 1, it treats the file system as API making internal refactors harder, we have to worry about how consumers might be using things that aren't actually supposed to be used. 2. We are unable to do this internally in @atlaskit packages. This leads to lots of packages bundling all of theme, just to use a single color, especially in situations where tree shaking fails.

    To support being able to use multiple entrypoints internally, we unfortunately cannot have multiple distributions as they would need to have very different imports from of their own internal dependencies.

    ES Modules are widely supported by all modern bundlers and can be worked around in node environments.

    We may choose to revisit this solution in the future if we find any unintended condequences, but we see this as a pretty sane path forward which should lead to some major bundle size decreases, saner API's and simpler package architecture.

    Please reach out to #fabric-build (if in Atlassian) or create an issue in Design System Support, (opens new window) (for external) if you have any questions or queries about this.

9.0.2

9.0.1

  • Updated dependencies 58b84fa, (opens new window):
    • @atlaskit/analytics-next@3.1.2
    • @atlaskit/button@10.1.1
    • @atlaskit/icon@15.0.2
    • @atlaskit/theme@7.0.1
    • @atlaskit/docs@6.0.0

9.0.0

  • [major]1a09599, (opens new window):

    New features in this release of @atlaskit/pagination

    • Ability to extend the pagination UI with custom components
    • Control the maximum number of pages to be displayed
    • Ability to customise the logic to collapse the pagination affordance
    • Pass in extra styling to the pagination container component so you can omit the use of style wrappers

8.0.8

8.0.7

8.0.6

  • Updated dependencies 6998f11, (opens new window):
    • @atlaskit/docs@5.2.1
    • @atlaskit/analytics-next@3.1.1
    • @atlaskit/icon@14.6.1
    • @atlaskit/theme@6.2.1
    • @atlaskit/button@10.0.0

8.0.5

8.0.4

8.0.3

8.0.2

8.0.1

8.0.0

7.0.6

7.0.4

7.0.3

7.0.2

7.0.1

7.0.0

6.0.6

6.0.5

6.0.4

6.0.3

6.0.2

6.0.1

6.0.0

5.0.1

5.0.0

4.0.0

3.7.1

3.7.0

3.6.4

3.6.3

3.6.2

3.6.1

  • [patch] Updated inline-edit test type, migrated item, updated pagination imports to account for removed root index file b48c074, (opens new window)

3.6.0

3.5.8

3.5.7 (2017-11-17)

3.5.6 (2017-10-26)

3.5.5 (2017-10-22)

3.5.4 (2017-10-15)

3.5.3 (2017-08-11)

3.5.2 (2017-07-27)

3.5.1 (2017-07-25)

3.2.0 (2017-07-17)

3.2.0 (2017-07-17)

3.1.0 (2017-07-10)

2.0.0 (2017-05-24)

  • conversion pass on pagination in styled-components conversion (b2036a6, (opens new window))
  • breaking; Named export Pagination renamed to PaginationStateless for consistency and clarity.
  • ISSUES CLOSED: #AK-2394

1.1.5 (2017-04-27)

1.1.4 (2017-04-26)

1.1.3 (2017-03-23)

1.1.1 (2017-03-21)

1.1.0 (2017-03-08)

1.0.4 (2017-02-28)

1.0.1 (2017-02-28)

1.0.1 (2017-02-28)

Was this page helpful?
We use this feedback to improve our documentation.
© 2026 AtlassianTrademark, (opens new window)Privacy, (opens new window)License