@atlaskit/dynamic-table 14.4.4 → 14.5.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 +24 -0
- package/dist/cjs/components/Body.js +1 -1
- package/dist/cjs/components/Stateless.js +1 -1
- package/dist/cjs/styled/TableHead.js +4 -4
- package/dist/cjs/styled/TableRow.js +4 -4
- package/dist/cjs/styled/rankable/TableRow.js +3 -3
- package/dist/cjs/theme.js +18 -18
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/Body.js +1 -1
- package/dist/es2019/components/Stateless.js +1 -1
- package/dist/es2019/styled/TableHead.js +4 -4
- package/dist/es2019/styled/TableRow.js +4 -4
- package/dist/es2019/styled/rankable/TableRow.js +3 -3
- package/dist/es2019/theme.js +18 -18
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/Body.js +1 -1
- package/dist/esm/components/Stateless.js +1 -1
- package/dist/esm/styled/TableHead.js +4 -4
- package/dist/esm/styled/TableRow.js +4 -4
- package/dist/esm/styled/rankable/TableRow.js +3 -3
- package/dist/esm/theme.js +18 -18
- package/dist/esm/version.json +1 -1
- package/dist/types/styled/TableHead.d.ts +1 -1
- package/dist/types/styled/constants.d.ts +4 -4
- package/dist/types/theme.d.ts +9 -9
- package/dist/types/types.d.ts +4 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @atlaskit/dynamic-table
|
|
2
2
|
|
|
3
|
+
## 14.5.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`62edf20ab1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/62edf20ab1e) - Migrates all usage of brand tokens to either selected or information tokens. This change is purely for semantic reasons, there are no visual or behavioural changes.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
10
|
+
## 14.5.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
16
|
+
## 14.5.0
|
|
17
|
+
|
|
18
|
+
### Minor Changes
|
|
19
|
+
|
|
20
|
+
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Rows can now also be highlighted using the isHighlighted property inside the rows data
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Updates usage of deprecated token names so they're aligned with the latest naming conventions. No UI or visual changes
|
|
25
|
+
- Updated dependencies
|
|
26
|
+
|
|
3
27
|
## 14.4.4
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
|
@@ -54,7 +54,7 @@ var Body = /*#__PURE__*/function (_React$Component) {
|
|
|
54
54
|
isFixedSize: isFixedSize,
|
|
55
55
|
key: row.key || rowIndex,
|
|
56
56
|
row: row,
|
|
57
|
-
isHighlighted: !!highlightedRowIndex && (typeof highlightedRowIndex === 'number' ? highlightedRowIndex === rowIndex : highlightedRowIndex.indexOf(rowIndex) > -1),
|
|
57
|
+
isHighlighted: row.isHighlighted || !!highlightedRowIndex && (typeof highlightedRowIndex === 'number' ? highlightedRowIndex === rowIndex : highlightedRowIndex.indexOf(rowIndex) > -1),
|
|
58
58
|
testId: testId
|
|
59
59
|
});
|
|
60
60
|
}));
|
|
@@ -52,7 +52,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
52
52
|
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; } }
|
|
53
53
|
|
|
54
54
|
var packageName = "@atlaskit/dynamic-table";
|
|
55
|
-
var packageVersion = "14.
|
|
55
|
+
var packageVersion = "14.5.2";
|
|
56
56
|
|
|
57
57
|
function toggleSortOrder(currentSortOrder) {
|
|
58
58
|
switch (currentSortOrder) {
|
|
@@ -44,7 +44,7 @@ var rankingStyles = (0, _core.css)({
|
|
|
44
44
|
|
|
45
45
|
var getHeadStyles = function getHeadStyles(theme) {
|
|
46
46
|
return (0, _core.css)({
|
|
47
|
-
borderBottom: "2px solid ".concat("var(--ds-border
|
|
47
|
+
borderBottom: "2px solid ".concat("var(--ds-border, ".concat(_theme.head.borderColor({
|
|
48
48
|
theme: theme
|
|
49
49
|
}), ")"))
|
|
50
50
|
});
|
|
@@ -68,9 +68,9 @@ var headCellStyles = (0, _core.css)([_constants3.cellStyles, {
|
|
|
68
68
|
position: 'relative',
|
|
69
69
|
textAlign: 'left',
|
|
70
70
|
verticalAlign: 'top',
|
|
71
|
-
color: "var(--ds-text-
|
|
71
|
+
color: "var(--ds-text-subtlest, ".concat("var(".concat(CSS_VAR_TEXT_COLOR, ")"), ")"),
|
|
72
72
|
'&:focus': {
|
|
73
|
-
outline: "solid 2px ".concat("var(--ds-border-
|
|
73
|
+
outline: "solid 2px ".concat("var(--ds-border-focused, ".concat(_colors.B100, ")"))
|
|
74
74
|
}
|
|
75
75
|
}]); // this needs to be made static: https://product-fabric.atlassian.net/browse/DSP-2011
|
|
76
76
|
|
|
@@ -154,7 +154,7 @@ exports.getArrowStyles = getArrowStyles;
|
|
|
154
154
|
var onClickStyles = (0, _core.css)({
|
|
155
155
|
'&:hover': {
|
|
156
156
|
cursor: 'pointer',
|
|
157
|
-
backgroundColor: "var(--ds-background-
|
|
157
|
+
backgroundColor: "var(--ds-background-neutral-hovered, ".concat(_colors.N30A, ")")
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
160
|
var HeadCell = /*#__PURE__*/(0, _react.forwardRef)(function (_ref2, ref) {
|
|
@@ -20,19 +20,19 @@ var _DynamicTable = require("./DynamicTable");
|
|
|
20
20
|
var _excluded = ["isHighlighted", "children", "style"];
|
|
21
21
|
var rowStyles = (0, _core.css)({
|
|
22
22
|
'&:focus': {
|
|
23
|
-
outline: "2px solid ".concat("var(--ds-border-
|
|
23
|
+
outline: "2px solid ".concat("var(--ds-border-focused, ".concat("var(".concat(_DynamicTable.tableRowCSSVars.CSS_VAR_HOVER_BACKGROUND, ")"), ")")),
|
|
24
24
|
outlineOffset: "-2px"
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
27
|
var rowBackgroundStyles = (0, _core.css)({
|
|
28
28
|
'&:hover': {
|
|
29
|
-
backgroundColor: "var(--ds-background-
|
|
29
|
+
backgroundColor: "var(--ds-background-neutral-subtle-hovered, ".concat("var(".concat(_DynamicTable.tableRowCSSVars.CSS_VAR_HOVER_BACKGROUND, ")"), ")")
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
32
|
var rowHighlightedBackgroundStyles = (0, _core.css)({
|
|
33
|
-
backgroundColor: "var(--ds-background-selected
|
|
33
|
+
backgroundColor: "var(--ds-background-selected, ".concat("var(".concat(_DynamicTable.tableRowCSSVars.CSS_VAR_HIGHLIGHTED_BACKGROUND, ")"), ")"),
|
|
34
34
|
'&:hover': {
|
|
35
|
-
backgroundColor: "var(--ds-background-selected-
|
|
35
|
+
backgroundColor: "var(--ds-background-selected-hovered, ".concat("var(".concat(_DynamicTable.tableRowCSSVars.CSS_VAR_HOVER_HIGHLIGHTED_BACKGROUND, ")"), ")")
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
38
|
var TableBodyRow = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
@@ -23,21 +23,21 @@ var _excluded = ["isRanking", "isRankingItem"];
|
|
|
23
23
|
var rankingStyles = (0, _core.css)({
|
|
24
24
|
display: 'block'
|
|
25
25
|
});
|
|
26
|
-
var elevationStyle = "var(--ds-overlay, ".concat("0 20px 32px -8px ".concat(_colors.N50A, ", 0 0 1px ").concat(_colors.N60A), ")");
|
|
26
|
+
var elevationStyle = "var(--ds-shadow-overlay, ".concat("0 20px 32px -8px ".concat(_colors.N50A, ", 0 0 1px ").concat(_colors.N60A), ")");
|
|
27
27
|
/**
|
|
28
28
|
* TODO: Pass the props here to get particular theme for the table
|
|
29
29
|
* Skipping it for now as it may impact migration as util-shared-styles does not support this feature
|
|
30
30
|
*/
|
|
31
31
|
|
|
32
32
|
var rankingItemStyles = (0, _core.css)({
|
|
33
|
-
backgroundColor: "var(--ds-background-
|
|
33
|
+
backgroundColor: "var(--ds-background-neutral, ".concat(_colors.N20, ")"),
|
|
34
34
|
boxShadow: elevationStyle,
|
|
35
35
|
borderRadius: '2px'
|
|
36
36
|
});
|
|
37
37
|
var draggableStyles = (0, _core.css)({
|
|
38
38
|
'&:focus': {
|
|
39
39
|
outlineStyle: 'solid',
|
|
40
|
-
outlineColor: "var(--ds-border-
|
|
40
|
+
outlineColor: "var(--ds-border-focused, ".concat(_colors.B100, ")")
|
|
41
41
|
},
|
|
42
42
|
outlineWidth: '2px'
|
|
43
43
|
});
|
package/dist/cjs/theme.js
CHANGED
|
@@ -24,46 +24,46 @@ var MSThemeColors = {
|
|
|
24
24
|
exports.MSThemeColors = MSThemeColors;
|
|
25
25
|
var arrow = {
|
|
26
26
|
defaultColor: (0, _components.themed)({
|
|
27
|
-
light: "var(--ds-background-
|
|
28
|
-
dark: "var(--ds-background-
|
|
27
|
+
light: "var(--ds-background-neutral, ".concat(colors.N40, ")"),
|
|
28
|
+
dark: "var(--ds-background-neutral, ".concat(colors.DN40, ")")
|
|
29
29
|
}),
|
|
30
30
|
selectedColor: (0, _components.themed)({
|
|
31
|
-
light: "var(--ds-text-
|
|
32
|
-
dark: "var(--ds-text-
|
|
31
|
+
light: "var(--ds-text-subtlest, ".concat(colors.N300, ")"),
|
|
32
|
+
dark: "var(--ds-text-subtlest, ".concat(colors.DN300, ")")
|
|
33
33
|
}),
|
|
34
34
|
hoverColor: (0, _components.themed)({
|
|
35
|
-
light: "var(--ds-background-
|
|
36
|
-
dark: "var(--ds-background-
|
|
35
|
+
light: "var(--ds-background-neutral-pressed, ".concat(colors.N60, ")"),
|
|
36
|
+
dark: "var(--ds-background-neutral-pressed, ".concat(colors.DN60, ")")
|
|
37
37
|
})
|
|
38
38
|
};
|
|
39
39
|
exports.arrow = arrow;
|
|
40
40
|
var row = {
|
|
41
41
|
focusOutline: (0, _components.themed)({
|
|
42
|
-
light: "var(--ds-border-
|
|
43
|
-
dark: "var(--ds-border-
|
|
42
|
+
light: "var(--ds-border-focused, ".concat(colors.B100, ")"),
|
|
43
|
+
dark: "var(--ds-border-focused, ".concat(colors.B100, ")")
|
|
44
44
|
}),
|
|
45
45
|
highlightedBackground: (0, _components.themed)({
|
|
46
|
-
light: "var(--ds-background-selected
|
|
47
|
-
dark: "var(--ds-background-selected
|
|
46
|
+
light: "var(--ds-background-selected, ".concat(colors.B50, ")"),
|
|
47
|
+
dark: "var(--ds-background-selected, ".concat(colors.DN50, ")")
|
|
48
48
|
}),
|
|
49
49
|
hoverBackground: (0, _components.themed)({
|
|
50
|
-
light: "var(--ds-background-
|
|
51
|
-
dark: "var(--ds-background-
|
|
50
|
+
light: "var(--ds-background-input, ".concat(colors.N10, ")"),
|
|
51
|
+
dark: "var(--ds-background-input, ".concat(colors.DN40, ")")
|
|
52
52
|
}),
|
|
53
53
|
hoverHighlightedBackground: (0, _components.themed)({
|
|
54
|
-
light: "var(--ds-background-selected-
|
|
55
|
-
dark: "var(--ds-background-selected-
|
|
54
|
+
light: "var(--ds-background-selected-hovered, ".concat(colors.B75, ")"),
|
|
55
|
+
dark: "var(--ds-background-selected-hovered, ".concat(colors.DN60, ")")
|
|
56
56
|
})
|
|
57
57
|
};
|
|
58
58
|
exports.row = row;
|
|
59
59
|
var head = {
|
|
60
60
|
borderColor: (0, _components.themed)({
|
|
61
|
-
light: "var(--ds-border
|
|
62
|
-
dark: "var(--ds-border
|
|
61
|
+
light: "var(--ds-border, ".concat(colors.N40, ")"),
|
|
62
|
+
dark: "var(--ds-border, ".concat(colors.DN50, ")")
|
|
63
63
|
}),
|
|
64
64
|
textColor: (0, _components.themed)({
|
|
65
|
-
light: "var(--ds-text-
|
|
66
|
-
dark: "var(--ds-text-
|
|
65
|
+
light: "var(--ds-text-subtlest, ".concat(colors.N300, ")"),
|
|
66
|
+
dark: "var(--ds-text-subtlest, ".concat(colors.DN300, ")")
|
|
67
67
|
})
|
|
68
68
|
};
|
|
69
69
|
exports.head = head;
|
package/dist/cjs/version.json
CHANGED
|
@@ -18,7 +18,7 @@ class Body extends React.Component {
|
|
|
18
18
|
isFixedSize: isFixedSize,
|
|
19
19
|
key: row.key || rowIndex,
|
|
20
20
|
row: row,
|
|
21
|
-
isHighlighted: !!highlightedRowIndex && (typeof highlightedRowIndex === 'number' ? highlightedRowIndex === rowIndex : highlightedRowIndex.indexOf(rowIndex) > -1),
|
|
21
|
+
isHighlighted: row.isHighlighted || !!highlightedRowIndex && (typeof highlightedRowIndex === 'number' ? highlightedRowIndex === rowIndex : highlightedRowIndex.indexOf(rowIndex) > -1),
|
|
22
22
|
testId: testId
|
|
23
23
|
})));
|
|
24
24
|
}
|
|
@@ -13,7 +13,7 @@ import ManagedPagination from './managed-pagination';
|
|
|
13
13
|
import RankableTableBody from './rankable/Body';
|
|
14
14
|
import TableHead from './TableHead';
|
|
15
15
|
const packageName = "@atlaskit/dynamic-table";
|
|
16
|
-
const packageVersion = "14.
|
|
16
|
+
const packageVersion = "14.5.2";
|
|
17
17
|
|
|
18
18
|
function toggleSortOrder(currentSortOrder) {
|
|
19
19
|
switch (currentSortOrder) {
|
|
@@ -16,7 +16,7 @@ const rankingStyles = css({
|
|
|
16
16
|
});
|
|
17
17
|
|
|
18
18
|
const getHeadStyles = theme => css({
|
|
19
|
-
borderBottom: `2px solid ${`var(--ds-border
|
|
19
|
+
borderBottom: `2px solid ${`var(--ds-border, ${head.borderColor({
|
|
20
20
|
theme
|
|
21
21
|
})})`}`
|
|
22
22
|
});
|
|
@@ -38,9 +38,9 @@ const headCellStyles = css([cellStyles, {
|
|
|
38
38
|
position: 'relative',
|
|
39
39
|
textAlign: 'left',
|
|
40
40
|
verticalAlign: 'top',
|
|
41
|
-
color: `var(--ds-text-
|
|
41
|
+
color: `var(--ds-text-subtlest, ${`var(${CSS_VAR_TEXT_COLOR})`})`,
|
|
42
42
|
'&:focus': {
|
|
43
|
-
outline: `solid 2px ${`var(--ds-border-
|
|
43
|
+
outline: `solid 2px ${`var(--ds-border-focused, ${B100})`}`
|
|
44
44
|
}
|
|
45
45
|
}]); // this needs to be made static: https://product-fabric.atlassian.net/browse/DSP-2011
|
|
46
46
|
|
|
@@ -128,7 +128,7 @@ export const getArrowStyles = (isSortable, sortOrder, theme) => {
|
|
|
128
128
|
const onClickStyles = css({
|
|
129
129
|
'&:hover': {
|
|
130
130
|
cursor: 'pointer',
|
|
131
|
-
backgroundColor: `var(--ds-background-
|
|
131
|
+
backgroundColor: `var(--ds-background-neutral-hovered, ${N30A})`
|
|
132
132
|
}
|
|
133
133
|
});
|
|
134
134
|
export const HeadCell = /*#__PURE__*/forwardRef(({
|
|
@@ -6,19 +6,19 @@ import { css, jsx } from '@emotion/core';
|
|
|
6
6
|
import { tableRowCSSVars as cssVars } from './DynamicTable';
|
|
7
7
|
const rowStyles = css({
|
|
8
8
|
'&:focus': {
|
|
9
|
-
outline: `2px solid ${`var(--ds-border-
|
|
9
|
+
outline: `2px solid ${`var(--ds-border-focused, ${`var(${cssVars.CSS_VAR_HOVER_BACKGROUND})`})`}`,
|
|
10
10
|
outlineOffset: `-2px`
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
const rowBackgroundStyles = css({
|
|
14
14
|
'&:hover': {
|
|
15
|
-
backgroundColor: `var(--ds-background-
|
|
15
|
+
backgroundColor: `var(--ds-background-neutral-subtle-hovered, ${`var(${cssVars.CSS_VAR_HOVER_BACKGROUND})`})`
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
const rowHighlightedBackgroundStyles = css({
|
|
19
|
-
backgroundColor: `var(--ds-background-selected
|
|
19
|
+
backgroundColor: `var(--ds-background-selected, ${`var(${cssVars.CSS_VAR_HIGHLIGHTED_BACKGROUND})`})`,
|
|
20
20
|
'&:hover': {
|
|
21
|
-
backgroundColor: `var(--ds-background-selected-
|
|
21
|
+
backgroundColor: `var(--ds-background-selected-hovered, ${`var(${cssVars.CSS_VAR_HOVER_HIGHLIGHTED_BACKGROUND})`})`
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
24
|
export const TableBodyRow = /*#__PURE__*/forwardRef(({
|
|
@@ -8,21 +8,21 @@ import { TableBodyRow } from '../TableRow';
|
|
|
8
8
|
const rankingStyles = css({
|
|
9
9
|
display: 'block'
|
|
10
10
|
});
|
|
11
|
-
const elevationStyle = `var(--ds-overlay, ${`0 20px 32px -8px ${N50A}, 0 0 1px ${N60A}`})`;
|
|
11
|
+
const elevationStyle = `var(--ds-shadow-overlay, ${`0 20px 32px -8px ${N50A}, 0 0 1px ${N60A}`})`;
|
|
12
12
|
/**
|
|
13
13
|
* TODO: Pass the props here to get particular theme for the table
|
|
14
14
|
* Skipping it for now as it may impact migration as util-shared-styles does not support this feature
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
const rankingItemStyles = css({
|
|
18
|
-
backgroundColor: `var(--ds-background-
|
|
18
|
+
backgroundColor: `var(--ds-background-neutral, ${N20})`,
|
|
19
19
|
boxShadow: elevationStyle,
|
|
20
20
|
borderRadius: '2px'
|
|
21
21
|
});
|
|
22
22
|
const draggableStyles = css({
|
|
23
23
|
'&:focus': {
|
|
24
24
|
outlineStyle: 'solid',
|
|
25
|
-
outlineColor: `var(--ds-border-
|
|
25
|
+
outlineColor: `var(--ds-border-focused, ${B100})`
|
|
26
26
|
},
|
|
27
27
|
outlineWidth: '2px'
|
|
28
28
|
});
|
package/dist/es2019/theme.js
CHANGED
|
@@ -8,43 +8,43 @@ export const MSThemeColors = {
|
|
|
8
8
|
};
|
|
9
9
|
export const arrow = {
|
|
10
10
|
defaultColor: themed({
|
|
11
|
-
light: `var(--ds-background-
|
|
12
|
-
dark: `var(--ds-background-
|
|
11
|
+
light: `var(--ds-background-neutral, ${colors.N40})`,
|
|
12
|
+
dark: `var(--ds-background-neutral, ${colors.DN40})`
|
|
13
13
|
}),
|
|
14
14
|
selectedColor: themed({
|
|
15
|
-
light: `var(--ds-text-
|
|
16
|
-
dark: `var(--ds-text-
|
|
15
|
+
light: `var(--ds-text-subtlest, ${colors.N300})`,
|
|
16
|
+
dark: `var(--ds-text-subtlest, ${colors.DN300})`
|
|
17
17
|
}),
|
|
18
18
|
hoverColor: themed({
|
|
19
|
-
light: `var(--ds-background-
|
|
20
|
-
dark: `var(--ds-background-
|
|
19
|
+
light: `var(--ds-background-neutral-pressed, ${colors.N60})`,
|
|
20
|
+
dark: `var(--ds-background-neutral-pressed, ${colors.DN60})`
|
|
21
21
|
})
|
|
22
22
|
};
|
|
23
23
|
export const row = {
|
|
24
24
|
focusOutline: themed({
|
|
25
|
-
light: `var(--ds-border-
|
|
26
|
-
dark: `var(--ds-border-
|
|
25
|
+
light: `var(--ds-border-focused, ${colors.B100})`,
|
|
26
|
+
dark: `var(--ds-border-focused, ${colors.B100})`
|
|
27
27
|
}),
|
|
28
28
|
highlightedBackground: themed({
|
|
29
|
-
light: `var(--ds-background-selected
|
|
30
|
-
dark: `var(--ds-background-selected
|
|
29
|
+
light: `var(--ds-background-selected, ${colors.B50})`,
|
|
30
|
+
dark: `var(--ds-background-selected, ${colors.DN50})`
|
|
31
31
|
}),
|
|
32
32
|
hoverBackground: themed({
|
|
33
|
-
light: `var(--ds-background-
|
|
34
|
-
dark: `var(--ds-background-
|
|
33
|
+
light: `var(--ds-background-input, ${colors.N10})`,
|
|
34
|
+
dark: `var(--ds-background-input, ${colors.DN40})`
|
|
35
35
|
}),
|
|
36
36
|
hoverHighlightedBackground: themed({
|
|
37
|
-
light: `var(--ds-background-selected-
|
|
38
|
-
dark: `var(--ds-background-selected-
|
|
37
|
+
light: `var(--ds-background-selected-hovered, ${colors.B75})`,
|
|
38
|
+
dark: `var(--ds-background-selected-hovered, ${colors.DN60})`
|
|
39
39
|
})
|
|
40
40
|
};
|
|
41
41
|
export const head = {
|
|
42
42
|
borderColor: themed({
|
|
43
|
-
light: `var(--ds-border
|
|
44
|
-
dark: `var(--ds-border
|
|
43
|
+
light: `var(--ds-border, ${colors.N40})`,
|
|
44
|
+
dark: `var(--ds-border, ${colors.DN50})`
|
|
45
45
|
}),
|
|
46
46
|
textColor: themed({
|
|
47
|
-
light: `var(--ds-text-
|
|
48
|
-
dark: `var(--ds-text-
|
|
47
|
+
light: `var(--ds-text-subtlest, ${colors.N300})`,
|
|
48
|
+
dark: `var(--ds-text-subtlest, ${colors.DN300})`
|
|
49
49
|
})
|
|
50
50
|
};
|
package/dist/es2019/version.json
CHANGED
|
@@ -40,7 +40,7 @@ var Body = /*#__PURE__*/function (_React$Component) {
|
|
|
40
40
|
isFixedSize: isFixedSize,
|
|
41
41
|
key: row.key || rowIndex,
|
|
42
42
|
row: row,
|
|
43
|
-
isHighlighted: !!highlightedRowIndex && (typeof highlightedRowIndex === 'number' ? highlightedRowIndex === rowIndex : highlightedRowIndex.indexOf(rowIndex) > -1),
|
|
43
|
+
isHighlighted: row.isHighlighted || !!highlightedRowIndex && (typeof highlightedRowIndex === 'number' ? highlightedRowIndex === rowIndex : highlightedRowIndex.indexOf(rowIndex) > -1),
|
|
44
44
|
testId: testId
|
|
45
45
|
});
|
|
46
46
|
}));
|
|
@@ -24,7 +24,7 @@ import ManagedPagination from './managed-pagination';
|
|
|
24
24
|
import RankableTableBody from './rankable/Body';
|
|
25
25
|
import TableHead from './TableHead';
|
|
26
26
|
var packageName = "@atlaskit/dynamic-table";
|
|
27
|
-
var packageVersion = "14.
|
|
27
|
+
var packageVersion = "14.5.2";
|
|
28
28
|
|
|
29
29
|
function toggleSortOrder(currentSortOrder) {
|
|
30
30
|
switch (currentSortOrder) {
|
|
@@ -25,7 +25,7 @@ var rankingStyles = css({
|
|
|
25
25
|
|
|
26
26
|
var getHeadStyles = function getHeadStyles(theme) {
|
|
27
27
|
return css({
|
|
28
|
-
borderBottom: "2px solid ".concat("var(--ds-border
|
|
28
|
+
borderBottom: "2px solid ".concat("var(--ds-border, ".concat(head.borderColor({
|
|
29
29
|
theme: theme
|
|
30
30
|
}), ")"))
|
|
31
31
|
});
|
|
@@ -48,9 +48,9 @@ var headCellStyles = css([cellStyles, {
|
|
|
48
48
|
position: 'relative',
|
|
49
49
|
textAlign: 'left',
|
|
50
50
|
verticalAlign: 'top',
|
|
51
|
-
color: "var(--ds-text-
|
|
51
|
+
color: "var(--ds-text-subtlest, ".concat("var(".concat(CSS_VAR_TEXT_COLOR, ")"), ")"),
|
|
52
52
|
'&:focus': {
|
|
53
|
-
outline: "solid 2px ".concat("var(--ds-border-
|
|
53
|
+
outline: "solid 2px ".concat("var(--ds-border-focused, ".concat(B100, ")"))
|
|
54
54
|
}
|
|
55
55
|
}]); // this needs to be made static: https://product-fabric.atlassian.net/browse/DSP-2011
|
|
56
56
|
|
|
@@ -132,7 +132,7 @@ export var getArrowStyles = function getArrowStyles(isSortable, sortOrder, theme
|
|
|
132
132
|
var onClickStyles = css({
|
|
133
133
|
'&:hover': {
|
|
134
134
|
cursor: 'pointer',
|
|
135
|
-
backgroundColor: "var(--ds-background-
|
|
135
|
+
backgroundColor: "var(--ds-background-neutral-hovered, ".concat(N30A, ")")
|
|
136
136
|
}
|
|
137
137
|
});
|
|
138
138
|
export var HeadCell = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
@@ -8,19 +8,19 @@ import { css, jsx } from '@emotion/core';
|
|
|
8
8
|
import { tableRowCSSVars as cssVars } from './DynamicTable';
|
|
9
9
|
var rowStyles = css({
|
|
10
10
|
'&:focus': {
|
|
11
|
-
outline: "2px solid ".concat("var(--ds-border-
|
|
11
|
+
outline: "2px solid ".concat("var(--ds-border-focused, ".concat("var(".concat(cssVars.CSS_VAR_HOVER_BACKGROUND, ")"), ")")),
|
|
12
12
|
outlineOffset: "-2px"
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
15
|
var rowBackgroundStyles = css({
|
|
16
16
|
'&:hover': {
|
|
17
|
-
backgroundColor: "var(--ds-background-
|
|
17
|
+
backgroundColor: "var(--ds-background-neutral-subtle-hovered, ".concat("var(".concat(cssVars.CSS_VAR_HOVER_BACKGROUND, ")"), ")")
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
var rowHighlightedBackgroundStyles = css({
|
|
21
|
-
backgroundColor: "var(--ds-background-selected
|
|
21
|
+
backgroundColor: "var(--ds-background-selected, ".concat("var(".concat(cssVars.CSS_VAR_HIGHLIGHTED_BACKGROUND, ")"), ")"),
|
|
22
22
|
'&:hover': {
|
|
23
|
-
backgroundColor: "var(--ds-background-selected-
|
|
23
|
+
backgroundColor: "var(--ds-background-selected-hovered, ".concat("var(".concat(cssVars.CSS_VAR_HOVER_HIGHLIGHTED_BACKGROUND, ")"), ")")
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
export var TableBodyRow = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
@@ -10,21 +10,21 @@ import { TableBodyRow } from '../TableRow';
|
|
|
10
10
|
var rankingStyles = css({
|
|
11
11
|
display: 'block'
|
|
12
12
|
});
|
|
13
|
-
var elevationStyle = "var(--ds-overlay, ".concat("0 20px 32px -8px ".concat(N50A, ", 0 0 1px ").concat(N60A), ")");
|
|
13
|
+
var elevationStyle = "var(--ds-shadow-overlay, ".concat("0 20px 32px -8px ".concat(N50A, ", 0 0 1px ").concat(N60A), ")");
|
|
14
14
|
/**
|
|
15
15
|
* TODO: Pass the props here to get particular theme for the table
|
|
16
16
|
* Skipping it for now as it may impact migration as util-shared-styles does not support this feature
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
19
|
var rankingItemStyles = css({
|
|
20
|
-
backgroundColor: "var(--ds-background-
|
|
20
|
+
backgroundColor: "var(--ds-background-neutral, ".concat(N20, ")"),
|
|
21
21
|
boxShadow: elevationStyle,
|
|
22
22
|
borderRadius: '2px'
|
|
23
23
|
});
|
|
24
24
|
var draggableStyles = css({
|
|
25
25
|
'&:focus': {
|
|
26
26
|
outlineStyle: 'solid',
|
|
27
|
-
outlineColor: "var(--ds-border-
|
|
27
|
+
outlineColor: "var(--ds-border-focused, ".concat(B100, ")")
|
|
28
28
|
},
|
|
29
29
|
outlineWidth: '2px'
|
|
30
30
|
});
|
package/dist/esm/theme.js
CHANGED
|
@@ -8,43 +8,43 @@ export var MSThemeColors = {
|
|
|
8
8
|
};
|
|
9
9
|
export var arrow = {
|
|
10
10
|
defaultColor: themed({
|
|
11
|
-
light: "var(--ds-background-
|
|
12
|
-
dark: "var(--ds-background-
|
|
11
|
+
light: "var(--ds-background-neutral, ".concat(colors.N40, ")"),
|
|
12
|
+
dark: "var(--ds-background-neutral, ".concat(colors.DN40, ")")
|
|
13
13
|
}),
|
|
14
14
|
selectedColor: themed({
|
|
15
|
-
light: "var(--ds-text-
|
|
16
|
-
dark: "var(--ds-text-
|
|
15
|
+
light: "var(--ds-text-subtlest, ".concat(colors.N300, ")"),
|
|
16
|
+
dark: "var(--ds-text-subtlest, ".concat(colors.DN300, ")")
|
|
17
17
|
}),
|
|
18
18
|
hoverColor: themed({
|
|
19
|
-
light: "var(--ds-background-
|
|
20
|
-
dark: "var(--ds-background-
|
|
19
|
+
light: "var(--ds-background-neutral-pressed, ".concat(colors.N60, ")"),
|
|
20
|
+
dark: "var(--ds-background-neutral-pressed, ".concat(colors.DN60, ")")
|
|
21
21
|
})
|
|
22
22
|
};
|
|
23
23
|
export var row = {
|
|
24
24
|
focusOutline: themed({
|
|
25
|
-
light: "var(--ds-border-
|
|
26
|
-
dark: "var(--ds-border-
|
|
25
|
+
light: "var(--ds-border-focused, ".concat(colors.B100, ")"),
|
|
26
|
+
dark: "var(--ds-border-focused, ".concat(colors.B100, ")")
|
|
27
27
|
}),
|
|
28
28
|
highlightedBackground: themed({
|
|
29
|
-
light: "var(--ds-background-selected
|
|
30
|
-
dark: "var(--ds-background-selected
|
|
29
|
+
light: "var(--ds-background-selected, ".concat(colors.B50, ")"),
|
|
30
|
+
dark: "var(--ds-background-selected, ".concat(colors.DN50, ")")
|
|
31
31
|
}),
|
|
32
32
|
hoverBackground: themed({
|
|
33
|
-
light: "var(--ds-background-
|
|
34
|
-
dark: "var(--ds-background-
|
|
33
|
+
light: "var(--ds-background-input, ".concat(colors.N10, ")"),
|
|
34
|
+
dark: "var(--ds-background-input, ".concat(colors.DN40, ")")
|
|
35
35
|
}),
|
|
36
36
|
hoverHighlightedBackground: themed({
|
|
37
|
-
light: "var(--ds-background-selected-
|
|
38
|
-
dark: "var(--ds-background-selected-
|
|
37
|
+
light: "var(--ds-background-selected-hovered, ".concat(colors.B75, ")"),
|
|
38
|
+
dark: "var(--ds-background-selected-hovered, ".concat(colors.DN60, ")")
|
|
39
39
|
})
|
|
40
40
|
};
|
|
41
41
|
export var head = {
|
|
42
42
|
borderColor: themed({
|
|
43
|
-
light: "var(--ds-border
|
|
44
|
-
dark: "var(--ds-border
|
|
43
|
+
light: "var(--ds-border, ".concat(colors.N40, ")"),
|
|
44
|
+
dark: "var(--ds-border, ".concat(colors.DN50, ")")
|
|
45
45
|
}),
|
|
46
46
|
textColor: themed({
|
|
47
|
-
light: "var(--ds-text-
|
|
48
|
-
dark: "var(--ds-text-
|
|
47
|
+
light: "var(--ds-text-subtlest, ".concat(colors.N300, ")"),
|
|
48
|
+
dark: "var(--ds-text-subtlest, ".concat(colors.DN300, ")")
|
|
49
49
|
})
|
|
50
50
|
};
|
package/dist/esm/version.json
CHANGED
|
@@ -12,6 +12,6 @@ declare type HeadCellProps = TruncateStyleProps & HTMLProps<HTMLTableCellElement
|
|
|
12
12
|
isSortable?: boolean;
|
|
13
13
|
sortOrder?: SortOrderType;
|
|
14
14
|
};
|
|
15
|
-
export declare const getArrowStyles: (isSortable?: boolean | undefined, sortOrder?: "ASC" | "DESC" | undefined, theme?: GlobalThemeTokens | undefined) => import("@emotion/
|
|
15
|
+
export declare const getArrowStyles: (isSortable?: boolean | undefined, sortOrder?: "ASC" | "DESC" | undefined, theme?: GlobalThemeTokens | undefined) => import("@emotion/utils").SerializedStyles | "";
|
|
16
16
|
export declare const HeadCell: import("react").ForwardRefExoticComponent<Pick<HeadCellProps, "cite" | "data" | "form" | "label" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "content" | "height" | "width" | "isFixedSize" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "target" | "type" | "useMap" | "value" | "wmode" | "wrap" | "sortOrder" | "shouldTruncate" | "innerRef" | "testId" | "isSortable"> & import("react").RefAttributes<HTMLTableCellElement>>;
|
|
17
17
|
export {};
|
|
@@ -8,11 +8,11 @@ export interface TruncateStyleProps {
|
|
|
8
8
|
testId?: string;
|
|
9
9
|
innerRef?: LegacyRef<HTMLTableCellElement | HTMLTableRowElement> | undefined;
|
|
10
10
|
}
|
|
11
|
-
export declare const truncationWidthStyles: import("@emotion/
|
|
12
|
-
export declare const fixedSizeTruncateStyles: import("@emotion/
|
|
13
|
-
export declare const overflowTruncateStyles: import("@emotion/
|
|
11
|
+
export declare const truncationWidthStyles: import("@emotion/utils").SerializedStyles;
|
|
12
|
+
export declare const fixedSizeTruncateStyles: import("@emotion/utils").SerializedStyles;
|
|
13
|
+
export declare const overflowTruncateStyles: import("@emotion/utils").SerializedStyles;
|
|
14
14
|
export declare const getTruncationStyleVars: ({ width }: TruncateStyleProps) => {
|
|
15
15
|
"--local-dynamic-table-width": string | undefined;
|
|
16
16
|
};
|
|
17
|
-
export declare const cellStyles: import("@emotion/
|
|
17
|
+
export declare const cellStyles: import("@emotion/utils").SerializedStyles;
|
|
18
18
|
export {};
|
package/dist/types/theme.d.ts
CHANGED
|
@@ -5,17 +5,17 @@ export declare const MSThemeColors: {
|
|
|
5
5
|
SelectedText: string;
|
|
6
6
|
};
|
|
7
7
|
export declare const arrow: {
|
|
8
|
-
defaultColor: import("@atlaskit/theme").ThemedValue<"var(--ds-background-
|
|
9
|
-
selectedColor: import("@atlaskit/theme").ThemedValue<"var(--ds-text-
|
|
10
|
-
hoverColor: import("@atlaskit/theme").ThemedValue<"var(--ds-background-
|
|
8
|
+
defaultColor: import("@atlaskit/theme").ThemedValue<"var(--ds-background-neutral)">;
|
|
9
|
+
selectedColor: import("@atlaskit/theme").ThemedValue<"var(--ds-text-subtlest)">;
|
|
10
|
+
hoverColor: import("@atlaskit/theme").ThemedValue<"var(--ds-background-neutral-pressed)">;
|
|
11
11
|
};
|
|
12
12
|
export declare const row: {
|
|
13
|
-
focusOutline: import("@atlaskit/theme").ThemedValue<"var(--ds-border-
|
|
14
|
-
highlightedBackground: import("@atlaskit/theme").ThemedValue<"var(--ds-background-selected
|
|
15
|
-
hoverBackground: import("@atlaskit/theme").ThemedValue<"var(--ds-background-
|
|
16
|
-
hoverHighlightedBackground: import("@atlaskit/theme").ThemedValue<"var(--ds-background-selected-
|
|
13
|
+
focusOutline: import("@atlaskit/theme").ThemedValue<"var(--ds-border-focused)">;
|
|
14
|
+
highlightedBackground: import("@atlaskit/theme").ThemedValue<"var(--ds-background-selected)">;
|
|
15
|
+
hoverBackground: import("@atlaskit/theme").ThemedValue<"var(--ds-background-input)">;
|
|
16
|
+
hoverHighlightedBackground: import("@atlaskit/theme").ThemedValue<"var(--ds-background-selected-hovered)">;
|
|
17
17
|
};
|
|
18
18
|
export declare const head: {
|
|
19
|
-
borderColor: import("@atlaskit/theme").ThemedValue<"var(--ds-border
|
|
20
|
-
textColor: import("@atlaskit/theme").ThemedValue<"var(--ds-text-
|
|
19
|
+
borderColor: import("@atlaskit/theme").ThemedValue<"var(--ds-border)">;
|
|
20
|
+
textColor: import("@atlaskit/theme").ThemedValue<"var(--ds-text-subtlest)">;
|
|
21
21
|
};
|
package/dist/types/types.d.ts
CHANGED
|
@@ -292,6 +292,10 @@ export interface RowType extends React.ComponentPropsWithoutRef<'tr'> {
|
|
|
292
292
|
* A key event handler to support interaction of a row.
|
|
293
293
|
*/
|
|
294
294
|
onKeyPress?: React.KeyboardEventHandler;
|
|
295
|
+
/**
|
|
296
|
+
* Highlights the row. Should be used to draw attention to a row; not to indicate selection.
|
|
297
|
+
*/
|
|
298
|
+
isHighlighted?: boolean;
|
|
295
299
|
/**
|
|
296
300
|
* Hook for automated testing.
|
|
297
301
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/dynamic-table",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.5.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/"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@atlaskit/pagination": "^14.0.0",
|
|
29
29
|
"@atlaskit/spinner": "^15.0.0",
|
|
30
30
|
"@atlaskit/theme": "^12.1.0",
|
|
31
|
-
"@atlaskit/tokens": "^0.
|
|
31
|
+
"@atlaskit/tokens": "^0.8.0",
|
|
32
32
|
"@babel/runtime": "^7.0.0",
|
|
33
33
|
"@emotion/core": "^10.0.9",
|
|
34
34
|
"react-beautiful-dnd": "^12.1.1"
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@atlaskit/avatar": "^20.5.0",
|
|
42
|
-
"@atlaskit/button": "^16.
|
|
42
|
+
"@atlaskit/button": "^16.2.0",
|
|
43
43
|
"@atlaskit/docs": "*",
|
|
44
|
-
"@atlaskit/dropdown-menu": "^11.
|
|
44
|
+
"@atlaskit/dropdown-menu": "^11.1.0",
|
|
45
45
|
"@atlaskit/ssr": "*",
|
|
46
46
|
"@atlaskit/toggle": "^12.4.0",
|
|
47
47
|
"@atlaskit/visual-regression": "*",
|