@atlaskit/dynamic-table 18.1.1 → 18.1.2
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,14 @@
|
|
|
1
1
|
# @atlaskit/dynamic-table
|
|
2
2
|
|
|
3
|
+
## 18.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#155802](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/155802)
|
|
8
|
+
[`08019848e3eab`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/08019848e3eab) -
|
|
9
|
+
Refreshed "issue" terminology.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 18.1.1
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -12,7 +12,6 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
|
12
12
|
var _react = _interopRequireWildcard(require("react"));
|
|
13
13
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
14
14
|
var _noop = _interopRequireDefault(require("@atlaskit/ds-lib/noop"));
|
|
15
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
16
15
|
var _constants = require("../internal/constants");
|
|
17
16
|
var _helpers = require("../internal/helpers");
|
|
18
17
|
var _dynamicTable = require("../styled/dynamic-table");
|
|
@@ -72,8 +71,8 @@ var DynamicTable = function DynamicTable(_ref) {
|
|
|
72
71
|
loadingSpinnerSize = _ref.loadingSpinnerSize,
|
|
73
72
|
_ref$paginationi18n = _ref.paginationi18n,
|
|
74
73
|
paginationi18n = _ref$paginationi18n === void 0 ? {
|
|
75
|
-
prev:
|
|
76
|
-
next:
|
|
74
|
+
prev: 'Previous Page',
|
|
75
|
+
next: 'Next Page',
|
|
77
76
|
label: 'Pagination',
|
|
78
77
|
pageLabel: 'Page'
|
|
79
78
|
} : _ref$paginationi18n;
|
|
@@ -87,14 +86,14 @@ var DynamicTable = function DynamicTable(_ref) {
|
|
|
87
86
|
action: 'sorted',
|
|
88
87
|
componentName: 'dynamicTable',
|
|
89
88
|
packageName: "@atlaskit/dynamic-table",
|
|
90
|
-
packageVersion: "18.1.
|
|
89
|
+
packageVersion: "18.1.2"
|
|
91
90
|
});
|
|
92
91
|
var onRankEnd = (0, _analyticsNext.usePlatformLeafEventHandler)({
|
|
93
92
|
fn: providedOnRankEnd,
|
|
94
93
|
action: 'ranked',
|
|
95
94
|
componentName: 'dynamicTable',
|
|
96
95
|
packageName: "@atlaskit/dynamic-table",
|
|
97
|
-
packageVersion: "18.1.
|
|
96
|
+
packageVersion: "18.1.2"
|
|
98
97
|
});
|
|
99
98
|
(0, _react.useEffect)(function () {
|
|
100
99
|
(0, _helpers.validateSortKey)(sortKey, head);
|
|
@@ -2,7 +2,6 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import React, { forwardRef, lazy, Suspense, useEffect, useRef, useState } from 'react';
|
|
3
3
|
import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
|
|
4
4
|
import noop from '@atlaskit/ds-lib/noop';
|
|
5
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
5
|
import { ASC, DESC, LARGE, SMALL } from '../internal/constants';
|
|
7
6
|
import { assertIsSortable, getPageRows, validateSortKey } from '../internal/helpers';
|
|
8
7
|
import { Caption, PaginationWrapper, Table } from '../styled/dynamic-table';
|
|
@@ -48,8 +47,8 @@ const DynamicTable = ({
|
|
|
48
47
|
onRankEnd: providedOnRankEnd = noop,
|
|
49
48
|
loadingSpinnerSize,
|
|
50
49
|
paginationi18n = {
|
|
51
|
-
prev:
|
|
52
|
-
next:
|
|
50
|
+
prev: 'Previous Page',
|
|
51
|
+
next: 'Next Page',
|
|
53
52
|
label: 'Pagination',
|
|
54
53
|
pageLabel: 'Page'
|
|
55
54
|
}
|
|
@@ -61,14 +60,14 @@ const DynamicTable = ({
|
|
|
61
60
|
action: 'sorted',
|
|
62
61
|
componentName: 'dynamicTable',
|
|
63
62
|
packageName: "@atlaskit/dynamic-table",
|
|
64
|
-
packageVersion: "18.1.
|
|
63
|
+
packageVersion: "18.1.2"
|
|
65
64
|
});
|
|
66
65
|
const onRankEnd = usePlatformLeafEventHandler({
|
|
67
66
|
fn: providedOnRankEnd,
|
|
68
67
|
action: 'ranked',
|
|
69
68
|
componentName: 'dynamicTable',
|
|
70
69
|
packageName: "@atlaskit/dynamic-table",
|
|
71
|
-
packageVersion: "18.1.
|
|
70
|
+
packageVersion: "18.1.2"
|
|
72
71
|
});
|
|
73
72
|
useEffect(() => {
|
|
74
73
|
validateSortKey(sortKey, head);
|
|
@@ -5,7 +5,6 @@ var _excluded = ["isRankable", "isRanking", "onRankStart", "onRankEnd", "isRanki
|
|
|
5
5
|
import React, { forwardRef, lazy, Suspense, useEffect, useRef, useState } from 'react';
|
|
6
6
|
import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
|
|
7
7
|
import noop from '@atlaskit/ds-lib/noop';
|
|
8
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
8
|
import { ASC, DESC, LARGE, SMALL } from '../internal/constants';
|
|
10
9
|
import { assertIsSortable, getPageRows, validateSortKey } from '../internal/helpers';
|
|
11
10
|
import { Caption, PaginationWrapper, Table } from '../styled/dynamic-table';
|
|
@@ -62,8 +61,8 @@ var DynamicTable = function DynamicTable(_ref) {
|
|
|
62
61
|
loadingSpinnerSize = _ref.loadingSpinnerSize,
|
|
63
62
|
_ref$paginationi18n = _ref.paginationi18n,
|
|
64
63
|
paginationi18n = _ref$paginationi18n === void 0 ? {
|
|
65
|
-
prev:
|
|
66
|
-
next:
|
|
64
|
+
prev: 'Previous Page',
|
|
65
|
+
next: 'Next Page',
|
|
67
66
|
label: 'Pagination',
|
|
68
67
|
pageLabel: 'Page'
|
|
69
68
|
} : _ref$paginationi18n;
|
|
@@ -77,14 +76,14 @@ var DynamicTable = function DynamicTable(_ref) {
|
|
|
77
76
|
action: 'sorted',
|
|
78
77
|
componentName: 'dynamicTable',
|
|
79
78
|
packageName: "@atlaskit/dynamic-table",
|
|
80
|
-
packageVersion: "18.1.
|
|
79
|
+
packageVersion: "18.1.2"
|
|
81
80
|
});
|
|
82
81
|
var onRankEnd = usePlatformLeafEventHandler({
|
|
83
82
|
fn: providedOnRankEnd,
|
|
84
83
|
action: 'ranked',
|
|
85
84
|
componentName: 'dynamicTable',
|
|
86
85
|
packageName: "@atlaskit/dynamic-table",
|
|
87
|
-
packageVersion: "18.1.
|
|
86
|
+
packageVersion: "18.1.2"
|
|
88
87
|
});
|
|
89
88
|
useEffect(function () {
|
|
90
89
|
validateSortKey(sortKey, head);
|
package/dist/types/types.d.ts
CHANGED
|
@@ -160,7 +160,7 @@ export interface StatelessProps extends WithAnalyticsEventsProps {
|
|
|
160
160
|
/**
|
|
161
161
|
* If you don’t use a caption, then you’ll need to use label to describe the table for assistive technologies.
|
|
162
162
|
* Avoid using both at the same time as they may conflict.
|
|
163
|
-
* Rather than a screen reader speaking "Entering table", passing in an label allows a custom message like "Entering Jira
|
|
163
|
+
* Rather than a screen reader speaking "Entering table", passing in an label allows a custom message like "Entering Jira work items table".
|
|
164
164
|
*/
|
|
165
165
|
label?: string;
|
|
166
166
|
}
|
|
@@ -197,7 +197,7 @@ export interface StatefulProps extends WithAnalyticsEventsProps {
|
|
|
197
197
|
isLoading?: boolean;
|
|
198
198
|
/**
|
|
199
199
|
* Use this to set a label for assistive technology that describes the loading state.
|
|
200
|
-
* The default label is "Loading table". You can customize this to be more specific to your table, for example “Loading
|
|
200
|
+
* The default label is "Loading table". You can customize this to be more specific to your table, for example “Loading work items table”.
|
|
201
201
|
*/
|
|
202
202
|
loadingLabel?: string;
|
|
203
203
|
/**
|
|
@@ -292,7 +292,7 @@ export interface StatefulProps extends WithAnalyticsEventsProps {
|
|
|
292
292
|
/**
|
|
293
293
|
* If you don’t use a caption, then you’ll need to use label to describe the table for assistive technologies.
|
|
294
294
|
* Avoid using both at the same time as they may conflict.
|
|
295
|
-
* Rather than a screen reader speaking "Entering table", passing in an label allows a custom message like "Entering Jira
|
|
295
|
+
* Rather than a screen reader speaking "Entering table", passing in an label allows a custom message like "Entering Jira work items table".
|
|
296
296
|
*/
|
|
297
297
|
label?: string;
|
|
298
298
|
}
|
|
@@ -160,7 +160,7 @@ export interface StatelessProps extends WithAnalyticsEventsProps {
|
|
|
160
160
|
/**
|
|
161
161
|
* If you don’t use a caption, then you’ll need to use label to describe the table for assistive technologies.
|
|
162
162
|
* Avoid using both at the same time as they may conflict.
|
|
163
|
-
* Rather than a screen reader speaking "Entering table", passing in an label allows a custom message like "Entering Jira
|
|
163
|
+
* Rather than a screen reader speaking "Entering table", passing in an label allows a custom message like "Entering Jira work items table".
|
|
164
164
|
*/
|
|
165
165
|
label?: string;
|
|
166
166
|
}
|
|
@@ -197,7 +197,7 @@ export interface StatefulProps extends WithAnalyticsEventsProps {
|
|
|
197
197
|
isLoading?: boolean;
|
|
198
198
|
/**
|
|
199
199
|
* Use this to set a label for assistive technology that describes the loading state.
|
|
200
|
-
* The default label is "Loading table". You can customize this to be more specific to your table, for example “Loading
|
|
200
|
+
* The default label is "Loading table". You can customize this to be more specific to your table, for example “Loading work items table”.
|
|
201
201
|
*/
|
|
202
202
|
loadingLabel?: string;
|
|
203
203
|
/**
|
|
@@ -292,7 +292,7 @@ export interface StatefulProps extends WithAnalyticsEventsProps {
|
|
|
292
292
|
/**
|
|
293
293
|
* If you don’t use a caption, then you’ll need to use label to describe the table for assistive technologies.
|
|
294
294
|
* Avoid using both at the same time as they may conflict.
|
|
295
|
-
* Rather than a screen reader speaking "Entering table", passing in an label allows a custom message like "Entering Jira
|
|
295
|
+
* Rather than a screen reader speaking "Entering table", passing in an label allows a custom message like "Entering Jira work items table".
|
|
296
296
|
*/
|
|
297
297
|
label?: string;
|
|
298
298
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/dynamic-table",
|
|
3
|
-
"version": "18.1.
|
|
3
|
+
"version": "18.1.2",
|
|
4
4
|
"description": "A dynamic table displays rows of data with built-in pagination, sorting, and re-ordering functionality.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -42,15 +42,15 @@
|
|
|
42
42
|
"@atlaskit/analytics-next": "^11.0.0",
|
|
43
43
|
"@atlaskit/css": "^0.10.0",
|
|
44
44
|
"@atlaskit/ds-lib": "^4.0.0",
|
|
45
|
-
"@atlaskit/icon": "^26.
|
|
45
|
+
"@atlaskit/icon": "^26.4.0",
|
|
46
46
|
"@atlaskit/pagination": "^16.1.0",
|
|
47
47
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
48
48
|
"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration": "^2.0.0",
|
|
49
|
-
"@atlaskit/primitives": "^14.
|
|
49
|
+
"@atlaskit/primitives": "^14.8.0",
|
|
50
50
|
"@atlaskit/spinner": "^18.0.0",
|
|
51
51
|
"@atlaskit/theme": "^18.0.0",
|
|
52
|
-
"@atlaskit/tokens": "^4.
|
|
53
|
-
"@atlaskit/tooltip": "^20.
|
|
52
|
+
"@atlaskit/tokens": "^4.9.0",
|
|
53
|
+
"@atlaskit/tooltip": "^20.1.0",
|
|
54
54
|
"@babel/runtime": "^7.0.0",
|
|
55
55
|
"@compiled/react": "^0.18.3",
|
|
56
56
|
"@emotion/react": "^11.7.1"
|
|
@@ -63,15 +63,15 @@
|
|
|
63
63
|
"@af/accessibility-testing": "workspace:^",
|
|
64
64
|
"@af/integration-testing": "workspace:^",
|
|
65
65
|
"@af/visual-regression": "workspace:^",
|
|
66
|
-
"@atlaskit/avatar": "^25.
|
|
66
|
+
"@atlaskit/avatar": "^25.1.0",
|
|
67
67
|
"@atlaskit/banner": "^14.0.0",
|
|
68
|
-
"@atlaskit/button": "^23.
|
|
68
|
+
"@atlaskit/button": "^23.2.0",
|
|
69
69
|
"@atlaskit/docs": "^10.0.0",
|
|
70
70
|
"@atlaskit/drawer": "^10.1.0",
|
|
71
|
-
"@atlaskit/dropdown-menu": "^
|
|
72
|
-
"@atlaskit/link": "^3.
|
|
73
|
-
"@atlaskit/pragmatic-drag-and-drop": "^1.
|
|
74
|
-
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.
|
|
71
|
+
"@atlaskit/dropdown-menu": "^16.0.0",
|
|
72
|
+
"@atlaskit/link": "^3.2.0",
|
|
73
|
+
"@atlaskit/pragmatic-drag-and-drop": "^1.7.0",
|
|
74
|
+
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.1.0",
|
|
75
75
|
"@atlaskit/section-message": "^8.2.0",
|
|
76
76
|
"@atlaskit/ssr": "workspace:^",
|
|
77
77
|
"@atlaskit/toggle": "^15.0.0",
|
|
@@ -105,9 +105,6 @@
|
|
|
105
105
|
"platform-feature-flags": {
|
|
106
106
|
"platform-component-visual-refresh": {
|
|
107
107
|
"type": "boolean"
|
|
108
|
-
},
|
|
109
|
-
"eax-1131_fix_a11y_issues_global_issues_settings": {
|
|
110
|
-
"type": "boolean"
|
|
111
108
|
}
|
|
112
109
|
}
|
|
113
110
|
}
|