@atlaskit/dynamic-table 14.12.0 → 14.12.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 +6 -0
- package/dist/cjs/components/stateless.js +1 -1
- package/dist/cjs/styled/rankable/table-row.js +1 -1
- package/dist/cjs/styled/table-head.js +1 -1
- package/dist/cjs/styled/table-row.js +1 -1
- package/dist/es2019/components/stateless.js +1 -1
- package/dist/es2019/styled/rankable/table-row.js +1 -1
- package/dist/es2019/styled/table-head.js +1 -1
- package/dist/es2019/styled/table-row.js +1 -1
- package/dist/esm/components/stateless.js +1 -1
- package/dist/esm/styled/rankable/table-row.js +1 -1
- package/dist/esm/styled/table-head.js +1 -1
- package/dist/esm/styled/table-row.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/dynamic-table
|
|
2
2
|
|
|
3
|
+
## 14.12.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#66234](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66234) [`eca303e7af0a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/eca303e7af0a) - Changed :focus selector with :focus-visible
|
|
8
|
+
|
|
3
9
|
## 14.12.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -29,7 +29,7 @@ var _tableHead = _interopRequireDefault(require("./table-head"));
|
|
|
29
29
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
30
30
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
31
31
|
var packageName = "@atlaskit/dynamic-table";
|
|
32
|
-
var packageVersion = "14.12.
|
|
32
|
+
var packageVersion = "14.12.1";
|
|
33
33
|
function toggleSortOrder(currentSortOrder) {
|
|
34
34
|
switch (currentSortOrder) {
|
|
35
35
|
case _constants.DESC:
|
|
@@ -23,7 +23,7 @@ var rankingItemStyles = (0, _react2.css)({
|
|
|
23
23
|
});
|
|
24
24
|
var draggableStyles = (0, _react2.css)({
|
|
25
25
|
outlineWidth: "var(--ds-border-width, 2px)",
|
|
26
|
-
'&:focus': {
|
|
26
|
+
'&:focus-visible': {
|
|
27
27
|
outlineColor: "var(--ds-border-focused, ".concat(_colors.B100, ")"),
|
|
28
28
|
outlineStyle: 'solid'
|
|
29
29
|
}
|
|
@@ -47,7 +47,7 @@ var headCellStyles = (0, _react2.css)([_constants2.cellStyles, {
|
|
|
47
47
|
fontWeight: 600,
|
|
48
48
|
textAlign: 'left',
|
|
49
49
|
verticalAlign: 'top',
|
|
50
|
-
'&:focus': {
|
|
50
|
+
'&:focus-visible': {
|
|
51
51
|
outline: "solid 2px ".concat("var(--ds-border-focused, ".concat(_colors.B100, ")"))
|
|
52
52
|
}
|
|
53
53
|
}]);
|
|
@@ -14,7 +14,7 @@ var _excluded = ["isHighlighted", "children", "style", "testId"];
|
|
|
14
14
|
/** @jsx jsx */
|
|
15
15
|
var rowStyles = (0, _react2.css)({
|
|
16
16
|
backgroundColor: "var(--ds-background-neutral-subtle, transparent)",
|
|
17
|
-
'&:focus': {
|
|
17
|
+
'&:focus-visible': {
|
|
18
18
|
outline: "2px solid ".concat("var(--ds-border-focused, ".concat("var(".concat(_dynamicTable.tableRowCSSVars.CSS_VAR_HOVER_BACKGROUND, ")"), ")")),
|
|
19
19
|
outlineOffset: "-2px"
|
|
20
20
|
}
|
|
@@ -14,7 +14,7 @@ import ManagedPagination from './managed-pagination';
|
|
|
14
14
|
import RankableTableBody from './rankable/body';
|
|
15
15
|
import TableHead from './table-head';
|
|
16
16
|
const packageName = "@atlaskit/dynamic-table";
|
|
17
|
-
const packageVersion = "14.12.
|
|
17
|
+
const packageVersion = "14.12.1";
|
|
18
18
|
function toggleSortOrder(currentSortOrder) {
|
|
19
19
|
switch (currentSortOrder) {
|
|
20
20
|
case DESC:
|
|
@@ -5,7 +5,7 @@ import { css, jsx } from '@emotion/react';
|
|
|
5
5
|
import { tableRowCSSVars as cssVars } from './dynamic-table';
|
|
6
6
|
const rowStyles = css({
|
|
7
7
|
backgroundColor: "var(--ds-background-neutral-subtle, transparent)",
|
|
8
|
-
'&:focus': {
|
|
8
|
+
'&:focus-visible': {
|
|
9
9
|
outline: `2px solid ${`var(--ds-border-focused, ${`var(${cssVars.CSS_VAR_HOVER_BACKGROUND})`})`}`,
|
|
10
10
|
outlineOffset: `-2px`
|
|
11
11
|
}
|
|
@@ -22,7 +22,7 @@ import ManagedPagination from './managed-pagination';
|
|
|
22
22
|
import RankableTableBody from './rankable/body';
|
|
23
23
|
import TableHead from './table-head';
|
|
24
24
|
var packageName = "@atlaskit/dynamic-table";
|
|
25
|
-
var packageVersion = "14.12.
|
|
25
|
+
var packageVersion = "14.12.1";
|
|
26
26
|
function toggleSortOrder(currentSortOrder) {
|
|
27
27
|
switch (currentSortOrder) {
|
|
28
28
|
case DESC:
|
|
@@ -7,7 +7,7 @@ import { css, jsx } from '@emotion/react';
|
|
|
7
7
|
import { tableRowCSSVars as cssVars } from './dynamic-table';
|
|
8
8
|
var rowStyles = css({
|
|
9
9
|
backgroundColor: "var(--ds-background-neutral-subtle, transparent)",
|
|
10
|
-
'&:focus': {
|
|
10
|
+
'&:focus-visible': {
|
|
11
11
|
outline: "2px solid ".concat("var(--ds-border-focused, ".concat("var(".concat(cssVars.CSS_VAR_HOVER_BACKGROUND, ")"), ")")),
|
|
12
12
|
outlineOffset: "-2px"
|
|
13
13
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/dynamic-table",
|
|
3
|
-
"version": "14.12.
|
|
3
|
+
"version": "14.12.1",
|
|
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/"
|