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
bd2c5b0112185, (opens new window) - Remove stale API report artifacts from published Platform packages.
Patch Changes
- Updated dependencies
17.2.1
Patch Changes
38c7085c92a3a, (opens new window) - Experimental React 19 peer dependency support. This patch widens the peer range; CI coverage is partial.- Updated dependencies
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.jsonexportssubpaths 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-gatingso their published dependency reference is updated to the renamed@atlaskit/react-compiler-gatingscope.The earlier rename of
@atlassian/react-compiler-gatingto@atlaskit/react-compiler-gatingonly bumped the renamed package itself, so dependent packages were never republished and their published versions still referenced the old@atlassian/react-compiler-gatingname, 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
ee28cf33718b0, (opens new window) - Add @atlaskit/react-compiler-gating as a runtime dependency to enable React Compiler platform gating.- Updated dependencies
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
typesVersionsproperty anddist/types-ts4.5directory 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
31b1ede297136, (opens new window) - Autofix: add explicit package exports (barrel removal)
16.2.11
Patch Changes
- Updated dependencies
16.2.10
Patch Changes
- Updated dependencies
16.2.9
Patch Changes
02483200273ec, (opens new window) - Enrol all Design System UI packages into the React Compiler with platform gating via isReactCompilerActivePlatform.- Updated dependencies
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
87b12e64ff750, (opens new window) - Removed usages of LEGACY icon props
16.1.23
Patch Changes
- Updated dependencies
16.1.22
Patch Changes
d14ea5f60b689, (opens new window) - chore: migrate platform UI & component libraries icon imports from migration paths to core- Updated dependencies
16.1.21
Patch Changes
- Updated dependencies
16.1.20
Patch Changes
a60a82196851a, (opens new window) - Internal refactors to remove unused variables. No functional or public changes.- Updated dependencies
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
- #188454, (opens new window)
94461a8439c5c, (opens new window) - Internal refactoring of visual regression tests. - Updated dependencies
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
- #164146, (opens new window)
cb9fe0058ed87, (opens new window) - Updates package.json direct dependencies to align with actual usage.
16.1.1
Patch Changes
- Updated dependencies
16.1.0
Minor Changes
- #135819, (opens new window)
e50ee190f35f1, (opens new window) - Set explicit font family on Pagination using tokens to ensure it does not inherit font family.
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
- #119674, (opens new window)
796d5838394c2, (opens new window) - revert the changes for pagination page navigator markup
16.0.0
Major Changes
-
#117363, (opens new window)
10a0f7f6c2027, (opens new window) - This package'speerDependencieshave been adjusted forreactand/orreact-domto reflect the status of only supporting React 18 going forward. No explicit breaking change to React support has been made in this release, but this is to signify going forward, breaking changes for React 16 or React 17 may come via non-major semver releases.Please refer this community post for more details: https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026, (opens new window)
Patch Changes
- Updated dependencies
15.2.2
Patch Changes
- #116445, (opens new window)
1f4d9ed8a1be8, (opens new window) - Remove unused internal exports and old codemods, update dependencies.
15.2.1
Patch Changes
- Updated dependencies
15.2.0
Minor Changes
- #114505, (opens new window)
7d1407c18c85c, (opens new window) - We are testing the pagination behind a feature flag. Moving the page navigator buttons in to the list. If this fix is successful it will be available in a later release.
Patch Changes
- Updated dependencies
15.1.0
Minor Changes
- #109060, (opens new window)
4660ec858a305, (opens new window) - UpdateReactfrom v16 to v18
Patch Changes
- Updated dependencies
15.0.2
Patch Changes
- #103999, (opens new window)
9f62ecec4d422, (opens new window) - Update dependencies.
15.0.1
Patch Changes
- Updated dependencies
15.0.0
Major Changes
-
#174375, (opens new window)
4a3e12575f8ef, (opens new window) - Migrated from@emotion/reactto@compiled/reactin 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.cssimports correctly. Most bundlers come with built-in support for.cssimports, 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.cssimports.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
- #168892, (opens new window)
402c295d9e059, (opens new window) - Updated types to improve compatibility with React 18.
14.9.5
Patch Changes
- #165531, (opens new window)
57f451bda8919, (opens new window) - Adds side-effect config to support Compiled css extraction in third-party apps
14.9.4
Patch Changes
- Updated dependencies
14.9.3
Patch Changes
- Updated dependencies
14.9.2
Patch Changes
- #147416, (opens new window)
a820e507f83f7, (opens new window) - [ux] [EDF-1566] Made the rovo agents equal heights - Updated dependencies
14.9.1
Patch Changes
- Updated dependencies
14.9.0
Minor Changes
- #144888, (opens new window)
36d431fde8b6f, (opens new window) - Enable new icons behind a feature flag.
14.8.1
Patch Changes
- Updated dependencies
14.8.0
Minor Changes
-
#127511, (opens new window)
db30e29344013, (opens new window) - Widening range ofreactandreact-dompeer dependencies from^16.8.0 || ^17.0.0 || ~18.2.0to 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.3as well as to have a consistent peer dependency range forreactandreact-domfor/platformpackages.
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
- #119565, (opens new window)
16045b926e115, (opens new window) - Refactor export of pagination component for better Typescript typing recognition.
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
- #98707, (opens new window)
7cce9cbf2f08, (opens new window) - Internal changes to how text is rendered. There is no expected visual change.
14.7.0
Minor Changes
- #96694, (opens new window)
336e03a3c58a, (opens new window) - Add support for React 18 in non-strict mode.
14.6.6
Patch Changes
- Updated dependencies
14.6.5
Patch Changes
- #92007, (opens new window)
85525725cb0d, (opens new window) - Migrated to the new button component - Updated dependencies
14.6.4
Patch Changes
- #83188, (opens new window)
cd5d06cd3329, (opens new window) - Minor adjustments to improve compatibility with React 18
14.6.3
Patch Changes
- #83116, (opens new window)
8d4e99057fe0, (opens new window) - Upgrade Typescript from4.9.5to5.4.2
14.6.2
Patch Changes
- Updated dependencies
14.6.1
Patch Changes
- #80972, (opens new window)
6ff808b4cb86, (opens new window) - Remove unused "pages" prop from Navigator buttons and replace usage of spread operator with individual props.
14.6.0
Minor Changes
- #72645, (opens new window)
10cdc9cadb00, (opens new window) - Accessibility fix. Fixed semantics for pagination buttons.
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
- #68812, (opens new window)
91d4a48c1430, (opens new window) - Support better loading state for assistive tech
14.4.17
Patch Changes
- Updated dependencies
14.4.16
Patch Changes
- Updated dependencies
14.4.15
Patch Changes
- #42577, (opens new window)
d51b45b02fb, (opens new window) - Add component to push model consumption in JFE
14.4.14
Patch Changes
- Updated dependencies
14.4.13
Patch Changes
- #38747, (opens new window)
5891eff1980, (opens new window) - The internal composition of this component has changed. There is no expected change in behavior.
14.4.12
Patch Changes
- #38162, (opens new window)
fd6bb9c9184, (opens new window) - Delete version.json
14.4.11
Patch Changes
- #37533, (opens new window)
1ed303de3e8, (opens new window) - Updated dependencies
14.4.10
Patch Changes
- #36754, (opens new window)
4ae083a7e66, (opens new window) - Use@af/accessibility-testingfor default jest-axe config and jest-axe import in accessibility testing.
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
- #35681, (opens new window)
2ed5220efcc, (opens new window) - DSP-10691: added jest-axe and created accessibility unit tests to ensure basic a11y issues are tested
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
- #34947, (opens new window)
12d9c63d4c1, (opens new window) - [ux] pass pageLabel to dynamic-table component and updat prev label in examples, add description in the types file, update example files
14.3.2
Patch Changes
- #33793, (opens new window)
9d00501a414, (opens new window) - Ensure legacy types are published for TS 4.5-4.8
14.3.1
Patch Changes
- #33649, (opens new window)
41fae2c6f68, (opens new window) - Upgrade Typescript from4.5.5to4.9.5
14.3.0
Minor Changes
- #33258, (opens new window)
56507598609, (opens new window) - Skip minor dependency bump
Patch Changes
- Updated dependencies
14.2.15
Patch Changes
- #32424, (opens new window)
2e01c9c74b5, (opens new window) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
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
- #31242, (opens new window)
cfe48bb7ece, (opens new window) - Internal change only. Replace usages of Inline/Stack with stable version from@atlaskit/primitives.
14.2.8
Patch Changes
- Updated dependencies
14.2.7
Patch Changes
- #27891, (opens new window)
eadbf13d8c0, (opens new window) - Updated usages ofText,Box,Stack, andInlineprimitives to reflect their updated APIs. There are no visual or behaviour changes. - Updated dependencies
14.2.6
Patch Changes
- #28159, (opens new window)
716af1d3387, (opens new window) - Bump @atlaskit/heading from 1.0.0 to 1.0.1 to avoid resolving to poison dependency version
14.2.5
Patch Changes
- #28090, (opens new window)
207726a4cb2, (opens new window) - [ux] Replace ellipsis made with three periods (...) with ellipsis character (…)
14.2.4
Patch Changes
- #27209, (opens new window)
87991a69644, (opens new window) - - Remove @atlaskit/tokens as a dependency.- Remove @emotion/react as a dependency.
- Remove padding on navigator button in favor of default button sizing.
14.2.3
Patch Changes
- Updated dependencies
14.2.2
Patch Changes
- #26303, (opens new window)
9827dcb82b8, (opens new window) - No-op change to introduce spacing tokens to design system components.
14.2.1
Patch Changes
- #24874, (opens new window)
8cc2f888c83, (opens new window) - Upgrade Typescript from4.3.5to4.5.5
14.2.0
Minor Changes
- #24004, (opens new window)
2afcf534bad, (opens new window) - Updates@emotion/coreto@emotion/react; v10 to v11. There is no expected behavior change.
Patch Changes
- Updated dependencies
14.1.10
Patch Changes
- #24492, (opens new window)
8d4228767b0, (opens new window) - Upgrade Typescript from4.2.4to4.3.5.
14.1.9
Patch Changes
- #23381, (opens new window)
ac051e856a6, (opens new window) - Internal code change turning on new linting rules. - Updated dependencies
14.1.8
Patch Changes
- Updated dependencies
14.1.7
Patch Changes
- #21545, (opens new window)
efa50ac72ba, (opens new window) - Adjusts jsdoc strings to improve prop documentation
14.1.6
Patch Changes
- #20650, (opens new window)
cb2392f6d33, (opens new window) - Upgrade to TypeScript 4.2.4 - Updated dependencies
14.1.5
Patch Changes
- Updated dependencies
14.1.4
Patch Changes
- #18526, (opens new window)
f8678250d08, (opens new window) - Styles have been rewritten to prepare for migration to compiled. - Updated dependencies
14.1.3
Patch Changes
- #16752, (opens new window)
19d72473dfb, (opens new window) - Bump dependency tiny-invariant to latest"
14.1.2
Patch Changes
- #15694, (opens new window)
b85e7ce12cd, (opens new window) - Internal upgrade of memoize-one to 6.0.0
14.1.1
Patch Changes
- Updated dependencies
14.1.0
Minor Changes
- #13302, (opens new window)
f7f36b1ea80, (opens new window) - Test IDs are now applied to sub-components, including the page items and left/right navigation controls
Patch Changes
cd34d8ca8ea, (opens new window) - Internal wiring up to the tokens techstack, no code changes.- Updated dependencies
14.0.4
Patch Changes
- Updated dependencies
14.0.3
Patch Changes
- #12880, (opens new window)
378d1cef00f, (opens new window) - Bump@atlaskit/themeto version^11.3.0.
14.0.2
Patch Changes
- #12167, (opens new window)
d6f7ff383cf, (opens new window) - Updates to development dependencystorybook-addon-performance
14.0.1
Patch Changes
- #11113, (opens new window)
01918d5d885, (opens new window) - Reduce bundle size by replacing custom theme buttons to standard buttons in pagination component. - Updated dependencies
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->styleprop &PaginationPropTypes->PaginationProps. Removedi18nprop and flattened its child propsprev,nextas standalone propsnextLabelandprevLabel. Addedlabelprop for adding aria-label on pagination wrapper. RemovedcollapseRangeprops 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.0Once 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.0and 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 -hfor more details on usage. For Atlassians, refer to the documentation, (opens new window) for more details on the codemod CLI. -
Patch Changes
200ebeada19, (opens new window) - Updated codemods to handle edge cases- Updated dependencies
13.2.0
Minor Changes
- #10230, (opens new window)
0c29d48ebf8, (opens new window) - Convert class to functional components & analytics HOC to hooks
Patch Changes
6cba681e2d7, (opens new window) - Fixed ellipsis button incorrectly showing when it could show the actual button instead.a44cece0063, (opens new window) - Removed deprecated auto entry points and added new entry points in Pagination packagee30a953977b, (opens new window) - Convert pagination from styled to emotion CSS"- Updated dependencies
13.1.0
Minor Changes
- #9510, (opens new window)
07dc98acc92, (opens new window) - Added testId prop to pagination
13.0.10
Patch Changes
- #8644, (opens new window)
79c23df6340, (opens new window) - Use injected package name and version for analytics instead of version.json. - Updated dependencies
13.0.9
Patch Changes
- #5857, (opens new window)
d3265f19be, (opens new window) - Transpile packages using babel rather than tsc
13.0.8
Patch Changes
- #5497, (opens new window)
5f58283e1f, (opens new window) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started, (opens new window) Also addtypescripttodevDependenciesto denote version that the package was built with.
13.0.7
Patch Changes
- Updated dependencies
13.0.6
Patch Changes
- #5164, (opens new window)
2ac834240e, (opens new window) - Undo analytics-next file restructure to allow external ts definitions to continue working
13.0.5
Patch Changes
- Updated dependencies
13.0.4
Patch Changes
-
#3885, (opens new window)
6c525a8229, (opens new window) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade to prevent duplicates of tslib being bundled.
13.0.3
Patch Changes
- #3823, (opens new window)
7c7ec3b7ab, (opens new window) - Earlier user was unable to see next page once he goes to page 5, While using Pagination component. Now it works fine for page 5 and other page as well.
13.0.2
Patch Changes
- #3293, (opens new window)
954cc87b62, (opens new window) - The readme and package information has been updated to point to the new design system website.
13.0.1
Patch Changes
- #3428, (opens new window)
db053b24d8, (opens new window) - Update all the theme imports to be tree-shakable
13.0.0
Major Changes
- #3335, (opens new window)
87f4720f27, (opens new window) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11. For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534, (opens new window)
Patch Changes
- Updated dependencies
12.0.21
Patch Changes
- #2866, (opens new window)
54a9514fcf, (opens new window) - Build and supporting files will no longer be published to npm
12.0.20
Patch Changes
- #1868, (opens new window)
83dad3770b, (opens new window) - Change imports to comply with Atlassian conventions- Updated dependencies
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
- Updated dependencies
c0102a3ea2, (opens new window):
- @atlaskit/icon@20.0.0
- @atlaskit/section-message@4.1.4
- @atlaskit/docs@8.3.1
- @atlaskit/button@13.3.6
12.0.17
Patch Changes
-
[patch]4a223473c5, (opens new window):
Removes babel/runtime from dependencies. Users should see a smaller bundlesize as a result- Updated dependencies 28f8f0e089, (opens new window):
-
Updated dependencies 82747f2922, (opens new window):
-
Updated dependencies 4a223473c5, (opens new window):
- @atlaskit/icon@19.1.0
- @atlaskit/theme@9.5.0
- @atlaskit/button@13.3.5
- @atlaskit/dynamic-table@13.6.1
- @atlaskit/section-message@4.1.3
12.0.16
Patch Changes
-
[patch]35d2229b2a, (opens new window):
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
12.0.15
Patch Changes
-
[patch]a2d0043716, (opens new window):
Updated version of analytics-next to fix potential incompatibilities with TS 3.6
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
-
[patch]ecca4d1dbb, (opens new window):
Upgraded Typescript to 3.3.x
12.0.12
Patch Changes
-
[patch]708028db86, (opens new window):
Change all the imports to theme in Core to use multi entry points
12.0.11
Patch Changes
-
[patch]de35ce8c67, (opens new window):
Updates component maintainers
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
withAnalyticsForSumTypePropsalias has been removed, please usewithAnalyticsEventsAnalyticsContextWrappedCompalias has been removed, please usewithAnalyticsContext
Breaking changes to TypeScript annotations
withAnalyticsEventsnow infers proptypes automatically, consumers no longer need to provide props as a generic type.withAnalyticsContextnow infers proptypes automatically, consumers no longer need to provide props as a generic type.- Type
WithAnalyticsEventPropshas been renamed toWithAnalyticsEventsPropsto match source code - Type
CreateUIAnalyticsEventSignaturehas been renamed toCreateUIAnalyticsEventto match source code - Type
UIAnalyticsEventHandlerSignaturehas been renamed toUIAnalyticsEventHandlerto match source code - Type
AnalyticsEventsPayloadhas been renamed toAnalyticsEventPayload - Type
ObjectTypehas been removed, please useRecord<string, any>or[key: string]: any - Type
UIAnalyticsEventInterfacehas been removed, please useUIAnalyticsEvent - Type
AnalyticsEventInterfacehas been removed, please useAnalyticsEvent - Type
CreateAndFireEventFunctionremoved and should now be inferred by TypeScript - Type
AnalyticsEventUpdaterremoved and should now be inferred by TypeScript
12.0.9
Patch Changes
-
[patch]9f8ab1084b, (opens new window):
Consume analytics-next ts type definitions as an ambient declaration.
12.0.8
Patch Changes
-
[patch]bbff8a7d87, (opens new window):
Fixes bug, missing version.json file
12.0.7
Patch Changes
-
[patch]18dfac7332, (opens new window):
In this PR, we are:
- Re-introducing dist build folders
- Adding back cjs
- Replacing es5 by cjs and es2015 by esm
- Creating folders at the root for entry-points
- Removing the generation of the entry-points at the root Please see this ticket, (opens new window) or this page, (opens new window) for further details
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
- Updated dependencies
06326ef3f7, (opens new window):
- @atlaskit/docs@8.1.3
- @atlaskit/button@13.0.9
- @atlaskit/section-message@4.0.5
- @atlaskit/icon@19.0.0
12.0.4
Patch Changes
-
[patch]4615439434, (opens new window):
index.ts will now be ignored when publishing to npm
12.0.3
Patch Changes
-
[patch]93bcf314c6, (opens new window):
Added missing tslib dep
12.0.2
- Updated dependencies
cfc3c8adb3, (opens new window):
- @atlaskit/docs@8.1.2
- @atlaskit/button@13.0.8
- @atlaskit/section-message@4.0.2
- @atlaskit/icon@18.0.0
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
- Updated dependencies
6dd86f5b07, (opens new window):
- @atlaskit/icon@17.1.1
- @atlaskit/theme@9.0.2
- @atlaskit/section-message@4.0.0
11.0.1
- Updated dependencies
3d95467c4b, (opens new window):
- @atlaskit/icon@17.0.1
- @atlaskit/dynamic-table@13.0.0
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
- [patch]98e11001ff, (opens new window):
- Removes duplicate babel-runtime dependency
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
importandexportdeclarations.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
- Updated dependencies
d7ef59d432, (opens new window):
- @atlaskit/docs@6.0.1
- @atlaskit/button@10.1.2
- @atlaskit/section-message@1.0.16
- @atlaskit/icon@16.0.0
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
- Updated dependencies d13242d, (opens new window):
- @atlaskit/docs@5.2.3
- @atlaskit/button@10.0.4
- @atlaskit/icon@15.0.1
- @atlaskit/theme@7.0.0
8.0.7
- Updated dependencies ab9b69c, (opens new window):
- @atlaskit/docs@5.2.2
- @atlaskit/button@10.0.1
- @atlaskit/icon@15.0.0
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
- [patch] Fix for pagination in IE bd9046e, (opens new window)
8.0.4
- [patch] Adds missing implicit @babel/runtime dependency b71751b, (opens new window)
8.0.3
- [patch] Fix styling of button rendering icon in IE b4c5b87, (opens new window)
8.0.2
- [patch] Fix styling in IE and maintain it in other browsers 0d67e69, (opens new window)
8.0.1
- [patch] Bump to add icon 8010540, (opens new window)
8.0.0
- [major] updated the pagination component as per ADG spec 8276156, (opens new window)
7.0.6
- [patch] Adds sideEffects: false to allow proper tree shaking b5d6d04, (opens new window)
7.0.4
- [patch] update the dependency of react-dom to 16.4.2 due to vulnerability in previous versions read https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html, (opens new window) for details a4bd557, (opens new window)
- [none] Updated dependencies
a4bd557, (opens new window)
- @atlaskit/analytics-next@3.0.4
- @atlaskit/button@9.0.5
7.0.3
- [patch] Updated dependencies
acd86a1, (opens new window)
- @atlaskit/button@9.0.4
- @atlaskit/analytics-next@3.0.3
- @atlaskit/docs@5.0.2
7.0.2
- [patch] Add a SSR test for every package, add react-dom and build-utils in devDependencies 7e331b5, (opens new window)
- [none] Updated dependencies
7e331b5, (opens new window)
- @atlaskit/analytics-next@3.0.2
- @atlaskit/button@9.0.3
7.0.1
- [patch] Move analytics tests and replace elements to core 49d4ab4, (opens new window)
- [none] Updated dependencies
49d4ab4, (opens new window)
- @atlaskit/analytics-next@3.0.1
- @atlaskit/button@9.0.2
- @atlaskit/docs@5.0.1
7.0.0
- [major] Updates to React ^16.4.0 7edb866, (opens new window)
- [major] Updated dependencies
563a7eb, (opens new window)
- @atlaskit/analytics-next@3.0.0
- @atlaskit/button@9.0.0
- @atlaskit/docs@5.0.0
- [major] Updated dependencies
7edb866, (opens new window)
- @atlaskit/analytics-next@3.0.0
- @atlaskit/button@9.0.0
- @atlaskit/docs@5.0.0
6.0.6
- [patch] Fix $FlowFixMe and release packages 25d0b2d, (opens new window)
- [none] Updated dependencies
25d0b2d, (opens new window)
- @atlaskit/button@8.2.2
6.0.5
- [patch] Clean Changelogs - remove duplicates and empty entries e7756cd, (opens new window)
- [none] Updated dependencies
e7756cd, (opens new window)
- @atlaskit/button@8.1.2
6.0.4
- [patch] Update changelogs to remove duplicate cc58e17, (opens new window)
- [none] Updated dependencies
cc58e17, (opens new window)
- @atlaskit/button@8.1.1
- @atlaskit/docs@4.1.1
6.0.3
- [none] Updated dependencies
9d20f54, (opens new window)
- @atlaskit/docs@4.1.0
- @atlaskit/button@8.1.0
6.0.2
- [patch] moved atlaskit from dependencies to dev dependency 5e14f44, (opens new window)
6.0.1
- [patch] Update readme's 223cd67, (opens new window)
- [patch] Updated dependencies
223cd67, (opens new window)
- @atlaskit/button@8.0.1
- @atlaskit/docs@4.0.1
6.0.0
- [major] makes styled-components a peer dependency and upgrades version range from 1.4.6 - 3 to ^3.2.6 1e80619, (opens new window)
- [patch] Updated dependencies
1e80619, (opens new window)
- @atlaskit/button@8.0.0
- @atlaskit/docs@4.0.0
5.0.1
- [patch] Updated dependencies
d662caa, (opens new window)
- @atlaskit/button@7.2.5
- @atlaskit/docs@3.0.4
5.0.0
- [major] Bump to React 16.3. 4251858, (opens new window)
4.0.0
- [major] Combines stateless and stateful components into one. Deletes stateless export. Renames pagination props. a4b6c86, (opens new window)
3.7.1
- [patch] Re-releasing due to potentially broken babel release 9ed0bba, (opens new window)
3.7.0
- [minor] Update styled-components dependency to support versions 1.4.6 - 3 ceccf30, (opens new window)
3.6.4
- [patch] updated the repository url to https://bitbucket.org/atlassian/atlaskit-mk-2, (opens new window) 1e57e5a, (opens new window)
3.6.3
- [patch] Packages Flow types for elements components 3111e74, (opens new window)
3.6.2
- [patch] Resolved low hanging flow errors in field-base field-text comment icon item and website, $ 007de27, (opens new window)
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
- [minor] Add React 16 support. 12ea6e4, (opens new window)
3.5.8
- [patch] Bumping dependency on docs a2462c4, (opens new window)
- [patch] Update pagination number proptypes to be more permissive e7cca21, (opens new window)
3.5.7 (2017-11-17)
- bug fix; bumping internal dependencies to latest version (6d8d9b1, (opens new window))
3.5.6 (2017-10-26)
- bug fix; fix to rebuild stories (793b2a7, (opens new window))
3.5.5 (2017-10-22)
- bug fix; update styled-components dep and react peerDep (6a67bf8, (opens new window))
3.5.4 (2017-10-15)
- bug fix; update dependencies for react 16 compatibility (fc47c94, (opens new window))
3.5.3 (2017-08-11)
- bug fix; fix the theme-dependency (db90333, (opens new window))
3.5.2 (2017-07-27)
- fix; rename jsnext:main to jsnext:experimental:main temporarily (c7508e0, (opens new window))
3.5.1 (2017-07-25)
- fix; use class transform in loose mode in babel to improve load performance in apps (fde719a, (opens new window))
3.2.0 (2017-07-17)
- fix; rerelease, failed prepublish scripts (5fd82f8, (opens new window))
3.2.0 (2017-07-17)
- feature; added ES module builds to dist and add jsnext:main to most ADG packages (ea76507, (opens new window))
3.1.0 (2017-07-10)
- fix; add prop-types as a dependency to avoid React 15.x warnings (92598eb, (opens new window))
- feature; adds rendering of ellipsis in pagination component when there are lots of pages (9befc79, (opens new window))
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)
- fix; update legal copy to be more clear. Not all modules include ADG license.(f3a945e, (opens new window))
1.1.4 (2017-04-26)
- fix; update legal copy and fix broken links for component README on npm. New contribution and (0b3e454, (opens new window))
1.1.3 (2017-03-23)
- fix; Empty commit to release the component (49c08ee, (opens new window))
1.1.1 (2017-03-21)
- fix; maintainers for all the packages were added (261d00a, (opens new window))
1.1.0 (2017-03-08)
- feature; use createError helper function from util-common package (3466262, (opens new window))
1.0.4 (2017-02-28)
- fix; dummy commit to release stories (3df5d9f, (opens new window))
1.0.1 (2017-02-28)
- fix; dummy commit to fix broken stories and missing registry pages (a31e92a, (opens new window))
- changed import path for pagination in examples (0f6a7a6, (opens new window))
1.0.1 (2017-02-28)
- fix; dummy commit to release stories for components (a105c02, (opens new window))