@atlaskit/table 0.12.1 → 0.12.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,11 @@
1
1
  # @atlaskit/table
2
2
 
3
+ ## 0.12.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 0.12.1
4
10
 
5
11
  ### Patch Changes
@@ -9,8 +9,8 @@ exports.default = void 0;
9
9
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
  var _new = require("@atlaskit/button/new");
12
- var _chevronDownHipchatChevronDown = _interopRequireDefault(require("@atlaskit/icon/utility/migration/chevron-down--hipchat-chevron-down"));
13
- var _chevronUpHipchatChevronUp = _interopRequireDefault(require("@atlaskit/icon/utility/migration/chevron-up--hipchat-chevron-up"));
12
+ var _chevronDownHipchatChevronDown = _interopRequireDefault(require("@atlaskit/icon/core/migration/chevron-down--hipchat-chevron-down"));
13
+ var _chevronUpHipchatChevronUp = _interopRequireDefault(require("@atlaskit/icon/core/migration/chevron-up--hipchat-chevron-up"));
14
14
  var _useExpand2 = _interopRequireDefault(require("./hooks/use-expand"));
15
15
  var _expandableCell = require("./ui/expandable-cell");
16
16
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
@@ -35,7 +35,8 @@ var ExpandableCell = /*#__PURE__*/(0, _react.memo)(function () {
35
35
  appearance: "subtle",
36
36
  icon: function icon(iconProps) {
37
37
  return /*#__PURE__*/_react.default.createElement(Icon, (0, _extends2.default)({}, iconProps, {
38
- LEGACY_size: "small"
38
+ LEGACY_size: "small",
39
+ size: "small"
39
40
  }));
40
41
  },
41
42
  label: "Expand row",
@@ -7,8 +7,8 @@ Object.defineProperty(exports, "__esModule", {
7
7
  });
8
8
  exports.ExpandIcon = void 0;
9
9
  var _react = _interopRequireWildcard(require("react"));
10
- var _chevronDownHipchatChevronDown = _interopRequireDefault(require("@atlaskit/icon/utility/migration/chevron-down--hipchat-chevron-down"));
11
- var _chevronUpHipchatChevronUp = _interopRequireDefault(require("@atlaskit/icon/utility/migration/chevron-up--hipchat-chevron-up"));
10
+ var _chevronDownHipchatChevronDown = _interopRequireDefault(require("@atlaskit/icon/core/migration/chevron-down--hipchat-chevron-down"));
11
+ var _chevronUpHipchatChevronUp = _interopRequireDefault(require("@atlaskit/icon/core/migration/chevron-up--hipchat-chevron-up"));
12
12
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
13
13
  // TODO: Using HipChat icons as the standard icon set is missing large
14
14
  // versions of `chevron-up` and `chevron-down`, despite already including
@@ -27,14 +27,16 @@ var ExpandIcon = exports.ExpandIcon = /*#__PURE__*/(0, _react.memo)(function (_r
27
27
  color: "currentColor",
28
28
  LEGACY_size: "small",
29
29
  label: "",
30
- LEGACY_primaryColor: "inherit"
30
+ LEGACY_primaryColor: "inherit",
31
+ size: "small"
31
32
  });
32
33
  case false:
33
34
  return /*#__PURE__*/_react.default.createElement(_chevronDownHipchatChevronDown.default, {
34
35
  color: "currentColor",
35
36
  LEGACY_size: "small",
36
37
  label: "",
37
- LEGACY_primaryColor: "inherit"
38
+ LEGACY_primaryColor: "inherit",
39
+ size: "small"
38
40
  });
39
41
  }
40
42
  });
@@ -7,8 +7,8 @@ Object.defineProperty(exports, "__esModule", {
7
7
  });
8
8
  exports.SortIcon = void 0;
9
9
  var _react = _interopRequireWildcard(require("react"));
10
- var _arrowDown = _interopRequireDefault(require("@atlaskit/icon/utility/migration/arrow-down"));
11
- var _arrowUp = _interopRequireDefault(require("@atlaskit/icon/utility/migration/arrow-up"));
10
+ var _arrowDown = _interopRequireDefault(require("@atlaskit/icon/core/migration/arrow-down"));
11
+ var _arrowUp = _interopRequireDefault(require("@atlaskit/icon/core/migration/arrow-up"));
12
12
  var _useTable2 = require("../hooks/use-table");
13
13
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
14
14
  /**
@@ -28,14 +28,16 @@ var SortIcon = exports.SortIcon = /*#__PURE__*/(0, _react.memo)(function (_ref)
28
28
  color: "currentColor",
29
29
  LEGACY_size: "small",
30
30
  label: "",
31
- LEGACY_primaryColor: "inherit"
31
+ LEGACY_primaryColor: "inherit",
32
+ size: "small"
32
33
  });
33
34
  case 'descending':
34
35
  return /*#__PURE__*/_react.default.createElement(_arrowDown.default, {
35
36
  color: "currentColor",
36
37
  LEGACY_size: "small",
37
38
  label: "",
38
- LEGACY_primaryColor: "inherit"
39
+ LEGACY_primaryColor: "inherit",
40
+ size: "small"
39
41
  });
40
42
  }
41
43
  }
@@ -1,8 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React, { memo, useCallback } from 'react';
3
3
  import { IconButton } from '@atlaskit/button/new';
4
- import ChevronDownIcon from '@atlaskit/icon/utility/migration/chevron-down--hipchat-chevron-down';
5
- import ChevronUpIcon from '@atlaskit/icon/utility/migration/chevron-up--hipchat-chevron-up';
4
+ import ChevronDownIcon from '@atlaskit/icon/core/migration/chevron-down--hipchat-chevron-down';
5
+ import ChevronUpIcon from '@atlaskit/icon/core/migration/chevron-up--hipchat-chevron-up';
6
6
  import useExpand from './hooks/use-expand';
7
7
  import { ExpandableCell as ExpandableCellPrimitive } from './ui/expandable-cell';
8
8
 
@@ -27,7 +27,8 @@ const ExpandableCell = /*#__PURE__*/memo(() => {
27
27
  spacing: "compact",
28
28
  appearance: "subtle",
29
29
  icon: iconProps => /*#__PURE__*/React.createElement(Icon, _extends({}, iconProps, {
30
- LEGACY_size: "small"
30
+ LEGACY_size: "small",
31
+ size: "small"
31
32
  })),
32
33
  label: "Expand row",
33
34
  onClick: handleClick,
@@ -3,8 +3,8 @@ import React, { memo } from 'react';
3
3
  // TODO: Using HipChat icons as the standard icon set is missing large
4
4
  // versions of `chevron-up` and `chevron-down`, despite already including
5
5
  // `chevron-left-large` and `chevron-right-large`...
6
- import ChevronDownIcon from '@atlaskit/icon/utility/migration/chevron-down--hipchat-chevron-down';
7
- import ChevronUpIcon from '@atlaskit/icon/utility/migration/chevron-up--hipchat-chevron-up';
6
+ import ChevronDownIcon from '@atlaskit/icon/core/migration/chevron-down--hipchat-chevron-down';
7
+ import ChevronUpIcon from '@atlaskit/icon/core/migration/chevron-up--hipchat-chevron-up';
8
8
 
9
9
  /**
10
10
  * __Expand icon__
@@ -20,14 +20,16 @@ export const ExpandIcon = /*#__PURE__*/memo(({
20
20
  color: "currentColor",
21
21
  LEGACY_size: "small",
22
22
  label: "",
23
- LEGACY_primaryColor: "inherit"
23
+ LEGACY_primaryColor: "inherit",
24
+ size: "small"
24
25
  });
25
26
  case false:
26
27
  return /*#__PURE__*/React.createElement(ChevronDownIcon, {
27
28
  color: "currentColor",
28
29
  LEGACY_size: "small",
29
30
  label: "",
30
- LEGACY_primaryColor: "inherit"
31
+ LEGACY_primaryColor: "inherit",
32
+ size: "small"
31
33
  });
32
34
  }
33
35
  });
@@ -1,6 +1,6 @@
1
1
  import React, { memo } from 'react';
2
- import ArrowDownIcon from '@atlaskit/icon/utility/migration/arrow-down';
3
- import ArrowUpIcon from '@atlaskit/icon/utility/migration/arrow-up';
2
+ import ArrowDownIcon from '@atlaskit/icon/core/migration/arrow-down';
3
+ import ArrowUpIcon from '@atlaskit/icon/core/migration/arrow-up';
4
4
  import { useTable } from '../hooks/use-table';
5
5
 
6
6
  /**
@@ -22,14 +22,16 @@ export const SortIcon = /*#__PURE__*/memo(({
22
22
  color: "currentColor",
23
23
  LEGACY_size: "small",
24
24
  label: "",
25
- LEGACY_primaryColor: "inherit"
25
+ LEGACY_primaryColor: "inherit",
26
+ size: "small"
26
27
  });
27
28
  case 'descending':
28
29
  return /*#__PURE__*/React.createElement(ArrowDownIcon, {
29
30
  color: "currentColor",
30
31
  LEGACY_size: "small",
31
32
  label: "",
32
- LEGACY_primaryColor: "inherit"
33
+ LEGACY_primaryColor: "inherit",
34
+ size: "small"
33
35
  });
34
36
  }
35
37
  }
@@ -1,8 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React, { memo, useCallback } from 'react';
3
3
  import { IconButton } from '@atlaskit/button/new';
4
- import ChevronDownIcon from '@atlaskit/icon/utility/migration/chevron-down--hipchat-chevron-down';
5
- import ChevronUpIcon from '@atlaskit/icon/utility/migration/chevron-up--hipchat-chevron-up';
4
+ import ChevronDownIcon from '@atlaskit/icon/core/migration/chevron-down--hipchat-chevron-down';
5
+ import ChevronUpIcon from '@atlaskit/icon/core/migration/chevron-up--hipchat-chevron-up';
6
6
  import useExpand from './hooks/use-expand';
7
7
  import { ExpandableCell as ExpandableCellPrimitive } from './ui/expandable-cell';
8
8
 
@@ -27,7 +27,8 @@ var ExpandableCell = /*#__PURE__*/memo(function () {
27
27
  appearance: "subtle",
28
28
  icon: function icon(iconProps) {
29
29
  return /*#__PURE__*/React.createElement(Icon, _extends({}, iconProps, {
30
- LEGACY_size: "small"
30
+ LEGACY_size: "small",
31
+ size: "small"
31
32
  }));
32
33
  },
33
34
  label: "Expand row",
@@ -3,8 +3,8 @@ import React, { memo } from 'react';
3
3
  // TODO: Using HipChat icons as the standard icon set is missing large
4
4
  // versions of `chevron-up` and `chevron-down`, despite already including
5
5
  // `chevron-left-large` and `chevron-right-large`...
6
- import ChevronDownIcon from '@atlaskit/icon/utility/migration/chevron-down--hipchat-chevron-down';
7
- import ChevronUpIcon from '@atlaskit/icon/utility/migration/chevron-up--hipchat-chevron-up';
6
+ import ChevronDownIcon from '@atlaskit/icon/core/migration/chevron-down--hipchat-chevron-down';
7
+ import ChevronUpIcon from '@atlaskit/icon/core/migration/chevron-up--hipchat-chevron-up';
8
8
 
9
9
  /**
10
10
  * __Expand icon__
@@ -19,14 +19,16 @@ export var ExpandIcon = /*#__PURE__*/memo(function (_ref) {
19
19
  color: "currentColor",
20
20
  LEGACY_size: "small",
21
21
  label: "",
22
- LEGACY_primaryColor: "inherit"
22
+ LEGACY_primaryColor: "inherit",
23
+ size: "small"
23
24
  });
24
25
  case false:
25
26
  return /*#__PURE__*/React.createElement(ChevronDownIcon, {
26
27
  color: "currentColor",
27
28
  LEGACY_size: "small",
28
29
  label: "",
29
- LEGACY_primaryColor: "inherit"
30
+ LEGACY_primaryColor: "inherit",
31
+ size: "small"
30
32
  });
31
33
  }
32
34
  });
@@ -1,6 +1,6 @@
1
1
  import React, { memo } from 'react';
2
- import ArrowDownIcon from '@atlaskit/icon/utility/migration/arrow-down';
3
- import ArrowUpIcon from '@atlaskit/icon/utility/migration/arrow-up';
2
+ import ArrowDownIcon from '@atlaskit/icon/core/migration/arrow-down';
3
+ import ArrowUpIcon from '@atlaskit/icon/core/migration/arrow-up';
4
4
  import { useTable } from '../hooks/use-table';
5
5
 
6
6
  /**
@@ -20,14 +20,16 @@ export var SortIcon = /*#__PURE__*/memo(function (_ref) {
20
20
  color: "currentColor",
21
21
  LEGACY_size: "small",
22
22
  label: "",
23
- LEGACY_primaryColor: "inherit"
23
+ LEGACY_primaryColor: "inherit",
24
+ size: "small"
24
25
  });
25
26
  case 'descending':
26
27
  return /*#__PURE__*/React.createElement(ArrowDownIcon, {
27
28
  color: "currentColor",
28
29
  LEGACY_size: "small",
29
30
  label: "",
30
- LEGACY_primaryColor: "inherit"
31
+ LEGACY_primaryColor: "inherit",
32
+ size: "small"
31
33
  });
32
34
  }
33
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/table",
3
- "version": "0.12.1",
3
+ "version": "0.12.2",
4
4
  "description": "A table is used to display data.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -46,10 +46,10 @@
46
46
  "@atlaskit/checkbox": "^17.1.0",
47
47
  "@atlaskit/ds-lib": "^4.0.0",
48
48
  "@atlaskit/focus-ring": "^3.0.0",
49
- "@atlaskit/icon": "^26.4.0",
49
+ "@atlaskit/icon": "^27.0.0",
50
50
  "@atlaskit/primitives": "^14.8.0",
51
- "@atlaskit/tokens": "^5.0.0",
52
- "@atlaskit/tooltip": "^20.2.0",
51
+ "@atlaskit/tokens": "^5.2.0",
52
+ "@atlaskit/tooltip": "^20.3.0",
53
53
  "@atlaskit/visually-hidden": "^3.0.0",
54
54
  "@babel/runtime": "^7.0.0",
55
55
  "@compiled/react": "^0.18.3",
@@ -63,9 +63,9 @@
63
63
  "@af/integration-testing": "workspace:^",
64
64
  "@atlaskit/avatar": "^25.1.0",
65
65
  "@atlaskit/date": "^2.0.0",
66
- "@atlaskit/docs": "^10.0.0",
67
- "@atlaskit/dynamic-table": "^18.1.0",
68
- "@atlaskit/lozenge": "^12.2.0",
66
+ "@atlaskit/docs": "^11.0.0",
67
+ "@atlaskit/dynamic-table": "^18.2.0",
68
+ "@atlaskit/lozenge": "^13.0.0",
69
69
  "@atlaskit/section-message": "^8.2.0",
70
70
  "@atlaskit/visual-regression": "workspace:^",
71
71
  "@atlassian/ssr-tests": "^0.2.0",