@atlaskit/pagination 14.3.0 → 14.3.1

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,11 @@
1
1
  # @atlaskit/pagination
2
2
 
3
+ ## 14.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
8
+
3
9
  ## 14.3.0
4
10
 
5
11
  ### Minor Changes
@@ -28,7 +28,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
28
28
  var analyticsAttributes = {
29
29
  componentName: 'pagination',
30
30
  packageName: "@atlaskit/pagination",
31
- packageVersion: "14.3.0"
31
+ packageVersion: "14.3.1"
32
32
  };
33
33
  function InnerPagination(_ref, ref) {
34
34
  var _ref$components = _ref.components,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/pagination",
3
- "version": "14.3.0",
3
+ "version": "14.3.1",
4
4
  "sideEffects": false
5
5
  }
@@ -14,7 +14,7 @@ import collapseRange from './internal/utils/collapse-range';
14
14
  const analyticsAttributes = {
15
15
  componentName: 'pagination',
16
16
  packageName: "@atlaskit/pagination",
17
- packageVersion: "14.3.0"
17
+ packageVersion: "14.3.1"
18
18
  };
19
19
  function InnerPagination({
20
20
  components = emptyObject,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/pagination",
3
- "version": "14.3.0",
3
+ "version": "14.3.1",
4
4
  "sideEffects": false
5
5
  }
@@ -18,7 +18,7 @@ import collapseRange from './internal/utils/collapse-range';
18
18
  var analyticsAttributes = {
19
19
  componentName: 'pagination',
20
20
  packageName: "@atlaskit/pagination",
21
- packageVersion: "14.3.0"
21
+ packageVersion: "14.3.1"
22
22
  };
23
23
  function InnerPagination(_ref, ref) {
24
24
  var _ref$components = _ref.components,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/pagination",
3
- "version": "14.3.0",
3
+ "version": "14.3.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import React, { ReactElement, SyntheticEvent } from 'react';
2
- export declare type NavigatorProps<T> = {
2
+ export type NavigatorProps<T> = {
3
3
  /**
4
4
  * This will be passed in as aria-label to button. This is what screen reader will read
5
5
  */
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import { ButtonProps } from '@atlaskit/button/standard-button';
3
3
  import type { Appearance } from '@atlaskit/button/types';
4
- declare type Diff<T, U> = T extends U ? never : T;
5
- declare type PageProps = Diff<ButtonProps, {
4
+ type Diff<T, U> = T extends U ? never : T;
5
+ type PageProps = Diff<ButtonProps, {
6
6
  appearance?: Appearance;
7
7
  autoFocus: boolean;
8
8
  isDisabled: boolean;
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- export declare type EllipsisProp = {
2
+ export type EllipsisProp = {
3
3
  key: string;
4
4
  testId?: string;
5
5
  };
@@ -5,6 +5,6 @@ declare const collapseRange: <T>(pages: T[], current: number, { max, ellipsis, t
5
5
  key: string;
6
6
  testId: string;
7
7
  }) => ReactElement;
8
- transform: (page: T, index: number, testId?: string | undefined) => ReactElement;
9
- }, testId?: string | undefined) => ReactElement[];
8
+ transform: (page: T, index: number, testId?: string) => ReactElement;
9
+ }, testId?: string) => ReactElement[];
10
10
  export default collapseRange;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/pagination",
3
- "version": "14.3.0",
3
+ "version": "14.3.1",
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/"
@@ -13,6 +13,14 @@
13
13
  "module": "dist/esm/index.js",
14
14
  "module:es2019": "dist/es2019/index.js",
15
15
  "types": "dist/types/index.d.ts",
16
+ "typesVersions": {
17
+ ">=4.5 <4.9": {
18
+ "*": [
19
+ "dist/types-ts4.5/*",
20
+ "dist/types-ts4.5/index.d.ts"
21
+ ]
22
+ }
23
+ },
16
24
  "sideEffects": false,
17
25
  "atlaskit:src": "src/index.tsx",
18
26
  "af:exports": {
@@ -60,7 +68,7 @@
60
68
  "react-router-dom": "^4.2.2",
61
69
  "storybook-addon-performance": "^0.16.0",
62
70
  "tiny-invariant": "^1.2.0",
63
- "typescript": "4.5.5",
71
+ "typescript": "~4.9.5",
64
72
  "wait-for-expect": "^1.2.0"
65
73
  },
66
74
  "techstack": {
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/types.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/entry-points/types.d.ts"
11
+ "../dist/types-ts4.5/entry-points/types.d.ts"
12
12
  ]
13
13
  }
14
14
  }