@atlaskit/table-tree 9.10.3 → 9.10.5

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,19 @@
1
1
  # @atlaskit/table-tree
2
2
 
3
+ ## 9.10.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 9.10.4
10
+
11
+ ### Patch Changes
12
+
13
+ - [#120049](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/120049)
14
+ [`77504ff274f72`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/77504ff274f72) -
15
+ DSP-19576: Assign names to anonymous default exports
16
+
3
17
  ## 9.10.3
4
18
 
5
19
  ### Patch Changes
@@ -23,14 +23,14 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
23
23
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
24
24
  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); }; }
25
25
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
26
- var Cell = /*#__PURE__*/function (_Component) {
27
- (0, _inherits2.default)(Cell, _Component);
28
- var _super = _createSuper(Cell);
29
- function Cell() {
30
- (0, _classCallCheck2.default)(this, Cell);
26
+ var CellComponent = /*#__PURE__*/function (_Component) {
27
+ (0, _inherits2.default)(CellComponent, _Component);
28
+ var _super = _createSuper(CellComponent);
29
+ function CellComponent() {
30
+ (0, _classCallCheck2.default)(this, CellComponent);
31
31
  return _super.apply(this, arguments);
32
32
  }
33
- (0, _createClass2.default)(Cell, [{
33
+ (0, _createClass2.default)(CellComponent, [{
34
34
  key: "render",
35
35
  value: function render() {
36
36
  var _this$props = this.props,
@@ -51,6 +51,9 @@ var Cell = /*#__PURE__*/function (_Component) {
51
51
  }, children));
52
52
  }
53
53
  }]);
54
- return Cell;
54
+ return CellComponent;
55
55
  }(_react.Component);
56
- var _default = exports.default = (0, _withColumnWidth.default)(Cell);
56
+ var Cell = (0, _withColumnWidth.default)(CellComponent);
57
+
58
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
59
+ var _default = exports.default = Cell;
@@ -25,14 +25,14 @@ var headerStyles = (0, _react2.css)({
25
25
  font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
26
26
  fontWeight: "var(--ds-font-weight-bold, 700)"
27
27
  });
28
- var Header = /*#__PURE__*/function (_Component) {
29
- (0, _inherits2.default)(Header, _Component);
30
- var _super = _createSuper(Header);
31
- function Header() {
32
- (0, _classCallCheck2.default)(this, Header);
28
+ var HeaderComponent = /*#__PURE__*/function (_Component) {
29
+ (0, _inherits2.default)(HeaderComponent, _Component);
30
+ var _super = _createSuper(HeaderComponent);
31
+ function HeaderComponent() {
32
+ (0, _classCallCheck2.default)(this, HeaderComponent);
33
33
  return _super.apply(this, arguments);
34
34
  }
35
- (0, _createClass2.default)(Header, [{
35
+ (0, _createClass2.default)(HeaderComponent, [{
36
36
  key: "render",
37
37
  value: function render() {
38
38
  var props = this.props;
@@ -49,6 +49,9 @@ var Header = /*#__PURE__*/function (_Component) {
49
49
  );
50
50
  }
51
51
  }]);
52
- return Header;
52
+ return HeaderComponent;
53
53
  }(_react.Component);
54
- var _default = exports.default = (0, _withColumnWidth.default)(Header);
54
+ var Header = (0, _withColumnWidth.default)(HeaderComponent);
55
+
56
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
57
+ var _default = exports.default = Header;
@@ -30,13 +30,13 @@ var treeRowClickableStyles = (0, _react2.css)({
30
30
  cursor: 'pointer'
31
31
  });
32
32
  var packageName = "@atlaskit/table-tree";
33
- var packageVersion = "9.10.3";
34
- var Row = exports.RowWithoutAnalytics = /*#__PURE__*/function (_Component) {
35
- (0, _inherits2.default)(Row, _Component);
36
- var _super = _createSuper(Row);
37
- function Row() {
33
+ var packageVersion = "9.10.5";
34
+ var RowComponent = exports.RowWithoutAnalytics = /*#__PURE__*/function (_Component) {
35
+ (0, _inherits2.default)(RowComponent, _Component);
36
+ var _super = _createSuper(RowComponent);
37
+ function RowComponent() {
38
38
  var _this;
39
- (0, _classCallCheck2.default)(this, Row);
39
+ (0, _classCallCheck2.default)(this, RowComponent);
40
40
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
41
41
  args[_key] = arguments[_key];
42
42
  }
@@ -80,7 +80,7 @@ var Row = exports.RowWithoutAnalytics = /*#__PURE__*/function (_Component) {
80
80
  });
81
81
  return _this;
82
82
  }
83
- (0, _createClass2.default)(Row, [{
83
+ (0, _createClass2.default)(RowComponent, [{
84
84
  key: "componentDidUpdate",
85
85
  value: function componentDidUpdate(prevProps) {
86
86
  var _this$props = this.props,
@@ -165,10 +165,10 @@ var Row = exports.RowWithoutAnalytics = /*#__PURE__*/function (_Component) {
165
165
  })), hasChildren && isExpanded && renderChildren && renderChildren());
166
166
  }
167
167
  }]);
168
- return Row;
168
+ return RowComponent;
169
169
  }(_react.Component);
170
170
  var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
171
- var _default = exports.default = (0, _analyticsNext.withAnalyticsContext)({
171
+ var Row = (0, _analyticsNext.withAnalyticsContext)({
172
172
  componentName: 'row',
173
173
  packageName: packageName,
174
174
  packageVersion: packageVersion
@@ -191,4 +191,7 @@ var _default = exports.default = (0, _analyticsNext.withAnalyticsContext)({
191
191
  packageVersion: packageVersion
192
192
  }
193
193
  })
194
- })(Row));
194
+ })(RowComponent));
195
+
196
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
197
+ var _default = exports.default = Row;
@@ -4,7 +4,7 @@ import CommonCell from './internal/common-cell';
4
4
  import OverflowContainer from './internal/overflow-container';
5
5
  import { indentBase } from './internal/styled';
6
6
  import withColumnWidth from './internal/with-column-width';
7
- class Cell extends Component {
7
+ class CellComponent extends Component {
8
8
  render() {
9
9
  const {
10
10
  children,
@@ -25,4 +25,7 @@ class Cell extends Component {
25
25
  }, children));
26
26
  }
27
27
  }
28
- export default withColumnWidth(Cell);
28
+ const Cell = withColumnWidth(CellComponent);
29
+
30
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
31
+ export default Cell;
@@ -15,7 +15,7 @@ const headerStyles = css({
15
15
  font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
16
16
  fontWeight: "var(--ds-font-weight-bold, 700)"
17
17
  });
18
- class Header extends Component {
18
+ class HeaderComponent extends Component {
19
19
  render() {
20
20
  const {
21
21
  props
@@ -33,4 +33,7 @@ class Header extends Component {
33
33
  );
34
34
  }
35
35
  }
36
- export default withColumnWidth(Header);
36
+ const Header = withColumnWidth(HeaderComponent);
37
+
38
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
39
+ export default Header;
@@ -17,8 +17,8 @@ const treeRowClickableStyles = css({
17
17
  cursor: 'pointer'
18
18
  });
19
19
  const packageName = "@atlaskit/table-tree";
20
- const packageVersion = "9.10.3";
21
- class Row extends Component {
20
+ const packageVersion = "9.10.5";
21
+ class RowComponent extends Component {
22
22
  constructor(...args) {
23
23
  super(...args);
24
24
  _defineProperty(this, "state", {
@@ -141,9 +141,9 @@ class Row extends Component {
141
141
  }, ariaAttrs), React.Children.map(this.props.children, (cell, index) => this.renderCell(cell, index))), hasChildren && isExpanded && renderChildren && renderChildren());
142
142
  }
143
143
  }
144
- export { Row as RowWithoutAnalytics };
144
+ export { RowComponent as RowWithoutAnalytics };
145
145
  const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
146
- export default withAnalyticsContext({
146
+ const Row = withAnalyticsContext({
147
147
  componentName: 'row',
148
148
  packageName,
149
149
  packageVersion
@@ -166,4 +166,7 @@ export default withAnalyticsContext({
166
166
  packageVersion
167
167
  }
168
168
  })
169
- })(Row));
169
+ })(RowComponent));
170
+
171
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
172
+ export default Row;
@@ -13,14 +13,14 @@ import CommonCell from './internal/common-cell';
13
13
  import OverflowContainer from './internal/overflow-container';
14
14
  import { indentBase } from './internal/styled';
15
15
  import withColumnWidth from './internal/with-column-width';
16
- var Cell = /*#__PURE__*/function (_Component) {
17
- _inherits(Cell, _Component);
18
- var _super = _createSuper(Cell);
19
- function Cell() {
20
- _classCallCheck(this, Cell);
16
+ var CellComponent = /*#__PURE__*/function (_Component) {
17
+ _inherits(CellComponent, _Component);
18
+ var _super = _createSuper(CellComponent);
19
+ function CellComponent() {
20
+ _classCallCheck(this, CellComponent);
21
21
  return _super.apply(this, arguments);
22
22
  }
23
- _createClass(Cell, [{
23
+ _createClass(CellComponent, [{
24
24
  key: "render",
25
25
  value: function render() {
26
26
  var _this$props = this.props,
@@ -41,6 +41,9 @@ var Cell = /*#__PURE__*/function (_Component) {
41
41
  }, children));
42
42
  }
43
43
  }]);
44
- return Cell;
44
+ return CellComponent;
45
45
  }(Component);
46
- export default withColumnWidth(Cell);
46
+ var Cell = withColumnWidth(CellComponent);
47
+
48
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
49
+ export default Cell;
@@ -22,14 +22,14 @@ var headerStyles = css({
22
22
  font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
23
23
  fontWeight: "var(--ds-font-weight-bold, 700)"
24
24
  });
25
- var Header = /*#__PURE__*/function (_Component) {
26
- _inherits(Header, _Component);
27
- var _super = _createSuper(Header);
28
- function Header() {
29
- _classCallCheck(this, Header);
25
+ var HeaderComponent = /*#__PURE__*/function (_Component) {
26
+ _inherits(HeaderComponent, _Component);
27
+ var _super = _createSuper(HeaderComponent);
28
+ function HeaderComponent() {
29
+ _classCallCheck(this, HeaderComponent);
30
30
  return _super.apply(this, arguments);
31
31
  }
32
- _createClass(Header, [{
32
+ _createClass(HeaderComponent, [{
33
33
  key: "render",
34
34
  value: function render() {
35
35
  var props = this.props;
@@ -46,6 +46,9 @@ var Header = /*#__PURE__*/function (_Component) {
46
46
  );
47
47
  }
48
48
  }]);
49
- return Header;
49
+ return HeaderComponent;
50
50
  }(Component);
51
- export default withColumnWidth(Header);
51
+ var Header = withColumnWidth(HeaderComponent);
52
+
53
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
54
+ export default Header;
@@ -25,13 +25,13 @@ var treeRowClickableStyles = css({
25
25
  cursor: 'pointer'
26
26
  });
27
27
  var packageName = "@atlaskit/table-tree";
28
- var packageVersion = "9.10.3";
29
- var Row = /*#__PURE__*/function (_Component) {
30
- _inherits(Row, _Component);
31
- var _super = _createSuper(Row);
32
- function Row() {
28
+ var packageVersion = "9.10.5";
29
+ var RowComponent = /*#__PURE__*/function (_Component) {
30
+ _inherits(RowComponent, _Component);
31
+ var _super = _createSuper(RowComponent);
32
+ function RowComponent() {
33
33
  var _this;
34
- _classCallCheck(this, Row);
34
+ _classCallCheck(this, RowComponent);
35
35
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
36
36
  args[_key] = arguments[_key];
37
37
  }
@@ -75,7 +75,7 @@ var Row = /*#__PURE__*/function (_Component) {
75
75
  });
76
76
  return _this;
77
77
  }
78
- _createClass(Row, [{
78
+ _createClass(RowComponent, [{
79
79
  key: "componentDidUpdate",
80
80
  value: function componentDidUpdate(prevProps) {
81
81
  var _this$props = this.props,
@@ -160,11 +160,11 @@ var Row = /*#__PURE__*/function (_Component) {
160
160
  })), hasChildren && isExpanded && renderChildren && renderChildren());
161
161
  }
162
162
  }]);
163
- return Row;
163
+ return RowComponent;
164
164
  }(Component);
165
- export { Row as RowWithoutAnalytics };
165
+ export { RowComponent as RowWithoutAnalytics };
166
166
  var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
167
- export default withAnalyticsContext({
167
+ var Row = withAnalyticsContext({
168
168
  componentName: 'row',
169
169
  packageName: packageName,
170
170
  packageVersion: packageVersion
@@ -187,4 +187,7 @@ export default withAnalyticsContext({
187
187
  packageVersion: packageVersion
188
188
  }
189
189
  })
190
- })(Row));
190
+ })(RowComponent));
191
+
192
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
193
+ export default Row;
@@ -21,5 +21,5 @@ export interface CellProps {
21
21
  */
22
22
  children?: ReactNode;
23
23
  }
24
- declare const _default: (props: CellProps & import("./internal/with-column-width").CellWithColumnWidthProps) => JSX.Element;
25
- export default _default;
24
+ declare const Cell: (props: CellProps & import("./internal/with-column-width").CellWithColumnWidthProps) => JSX.Element;
25
+ export default Cell;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const _default: (props: any) => JSX.Element;
3
- export default _default;
2
+ declare const Header: (props: any) => JSX.Element;
3
+ export default Header;
@@ -4,7 +4,7 @@
4
4
  /** @jsx jsx */
5
5
  import React, { Component } from 'react';
6
6
  import { jsx } from '@emotion/react';
7
- declare class Row extends Component<any, any> {
7
+ declare class RowComponent extends Component<any, any> {
8
8
  state: {
9
9
  isExpanded: any;
10
10
  };
@@ -25,6 +25,6 @@ declare class Row extends Component<any, any> {
25
25
  }>;
26
26
  render(): jsx.JSX.Element;
27
27
  }
28
- export { Row as RowWithoutAnalytics };
29
- declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<any, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, string | number | symbol> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, string | number | symbol> & React.RefAttributes<any>>;
30
- export default _default;
28
+ export { RowComponent as RowWithoutAnalytics };
29
+ declare const Row: React.ForwardRefExoticComponent<Pick<Pick<Omit<any, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, string | number | symbol> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, string | number | symbol> & React.RefAttributes<any>>;
30
+ export default Row;
@@ -21,5 +21,5 @@ export interface CellProps {
21
21
  */
22
22
  children?: ReactNode;
23
23
  }
24
- declare const _default: (props: CellProps & import("./internal/with-column-width").CellWithColumnWidthProps) => JSX.Element;
25
- export default _default;
24
+ declare const Cell: (props: CellProps & import("./internal/with-column-width").CellWithColumnWidthProps) => JSX.Element;
25
+ export default Cell;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const _default: (props: any) => JSX.Element;
3
- export default _default;
2
+ declare const Header: (props: any) => JSX.Element;
3
+ export default Header;
@@ -4,7 +4,7 @@
4
4
  /** @jsx jsx */
5
5
  import React, { Component } from 'react';
6
6
  import { jsx } from '@emotion/react';
7
- declare class Row extends Component<any, any> {
7
+ declare class RowComponent extends Component<any, any> {
8
8
  state: {
9
9
  isExpanded: any;
10
10
  };
@@ -25,6 +25,6 @@ declare class Row extends Component<any, any> {
25
25
  }>;
26
26
  render(): jsx.JSX.Element;
27
27
  }
28
- export { Row as RowWithoutAnalytics };
29
- declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<any, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, string | number | symbol> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, string | number | symbol> & React.RefAttributes<any>>;
30
- export default _default;
28
+ export { RowComponent as RowWithoutAnalytics };
29
+ declare const Row: React.ForwardRefExoticComponent<Pick<Pick<Omit<any, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, string | number | symbol> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, string | number | symbol> & React.RefAttributes<any>>;
30
+ export default Row;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/table-tree",
3
- "version": "9.10.3",
3
+ "version": "9.10.5",
4
4
  "description": "A table tree is an expandable table for showing nested hierarchies of information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -28,11 +28,11 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@atlaskit/analytics-next": "^9.3.0",
31
- "@atlaskit/button": "^18.0.0",
32
- "@atlaskit/icon": "^22.5.0",
31
+ "@atlaskit/button": "^19.0.0",
32
+ "@atlaskit/icon": "^22.6.0",
33
33
  "@atlaskit/spinner": "^16.2.0",
34
34
  "@atlaskit/theme": "^12.11.0",
35
- "@atlaskit/tokens": "^1.53.0",
35
+ "@atlaskit/tokens": "^1.56.0",
36
36
  "@babel/runtime": "^7.0.0",
37
37
  "@emotion/react": "^11.7.1",
38
38
  "lodash": "^4.17.21"