@atlaskit/dynamic-table 18.3.17 → 18.3.19

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/dynamic-table
2
2
 
3
+ ## 18.3.19
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 18.3.18
10
+
11
+ ### Patch Changes
12
+
13
+ - [`5db9e3f21a52f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5db9e3f21a52f) -
14
+ Internal refactoring
15
+ - Updated dependencies
16
+
3
17
  ## 18.3.17
4
18
 
5
19
  ### Patch Changes
@@ -85,14 +85,14 @@ var DynamicTable = function DynamicTable(_ref) {
85
85
  action: 'sorted',
86
86
  componentName: 'dynamicTable',
87
87
  packageName: "@atlaskit/dynamic-table",
88
- packageVersion: "0.0.0-development"
88
+ packageVersion: "18.3.18"
89
89
  });
90
90
  var onRankEnd = (0, _analyticsNext.usePlatformLeafEventHandler)({
91
91
  fn: providedOnRankEnd,
92
92
  action: 'ranked',
93
93
  componentName: 'dynamicTable',
94
94
  packageName: "@atlaskit/dynamic-table",
95
- packageVersion: "0.0.0-development"
95
+ packageVersion: "18.3.18"
96
96
  });
97
97
  (0, _react.useEffect)(function () {
98
98
  (0, _helpers.validateSortKey)(sortKey, head);
@@ -28,7 +28,6 @@ var TableBodyRow = exports.TableBodyRow = /*#__PURE__*/(0, _react.forwardRef)(fu
28
28
  className = _ref.className,
29
29
  rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
30
30
  return /*#__PURE__*/React.createElement("tr", (0, _extends2.default)({
31
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
32
31
  style: style,
33
32
  /**
34
33
  * We rely on this `className` for the `RankableTableBodyRow` to apply extra styles.
@@ -60,14 +60,14 @@ const DynamicTable = ({
60
60
  action: 'sorted',
61
61
  componentName: 'dynamicTable',
62
62
  packageName: "@atlaskit/dynamic-table",
63
- packageVersion: "0.0.0-development"
63
+ packageVersion: "18.3.18"
64
64
  });
65
65
  const onRankEnd = usePlatformLeafEventHandler({
66
66
  fn: providedOnRankEnd,
67
67
  action: 'ranked',
68
68
  componentName: 'dynamicTable',
69
69
  packageName: "@atlaskit/dynamic-table",
70
- packageVersion: "0.0.0-development"
70
+ packageVersion: "18.3.18"
71
71
  });
72
72
  useEffect(() => {
73
73
  validateSortKey(sortKey, head);
@@ -18,7 +18,6 @@ export const TableBodyRow = /*#__PURE__*/forwardRef(({
18
18
  ...rest
19
19
  }, ref) => {
20
20
  return /*#__PURE__*/React.createElement("tr", _extends({
21
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
22
21
  style: style,
23
22
  /**
24
23
  * We rely on this `className` for the `RankableTableBodyRow` to apply extra styles.
@@ -76,14 +76,14 @@ var DynamicTable = function DynamicTable(_ref) {
76
76
  action: 'sorted',
77
77
  componentName: 'dynamicTable',
78
78
  packageName: "@atlaskit/dynamic-table",
79
- packageVersion: "0.0.0-development"
79
+ packageVersion: "18.3.18"
80
80
  });
81
81
  var onRankEnd = usePlatformLeafEventHandler({
82
82
  fn: providedOnRankEnd,
83
83
  action: 'ranked',
84
84
  componentName: 'dynamicTable',
85
85
  packageName: "@atlaskit/dynamic-table",
86
- packageVersion: "0.0.0-development"
86
+ packageVersion: "18.3.18"
87
87
  });
88
88
  useEffect(function () {
89
89
  validateSortKey(sortKey, head);
@@ -19,7 +19,6 @@ export var TableBodyRow = /*#__PURE__*/forwardRef(function (_ref, ref) {
19
19
  className = _ref.className,
20
20
  rest = _objectWithoutProperties(_ref, _excluded);
21
21
  return /*#__PURE__*/React.createElement("tr", _extends({
22
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
23
22
  style: style,
24
23
  /**
25
24
  * We rely on this `className` for the `RankableTableBodyRow` to apply extra styles.
@@ -8,7 +8,7 @@ interface BodyProps extends WithSortedPageRowsProps {
8
8
  forwardedRef?: React.Ref<HTMLTableSectionElement>;
9
9
  testId?: string;
10
10
  }
11
- declare const Body: React.ForwardRefExoticComponent<Omit<BodyProps & import("../hoc/with-sorted-page-rows").TableProps, "pageRows"> & {
11
+ declare const Body: React.ForwardRefExoticComponent<Omit<BodyProps & import('../hoc/with-sorted-page-rows').TableProps, 'pageRows'> & {
12
12
  forwardedRef?: React.Ref<HTMLTableSectionElement> | undefined;
13
13
  } & React.RefAttributes<HTMLTableSectionElement>>;
14
14
  export default Body;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { type WithDimensionsProps } from '../../hoc/with-dimensions';
3
3
  import { type TableHeadCellProps } from '../table-head-cell';
4
- declare const RankableTableHeadCell: React.ComponentClass<Omit<WithDimensionsProps & TableHeadCellProps, "innerRef" | "refWidth" | "refHeight">, import("../../hoc/with-dimensions").State>;
4
+ declare const RankableTableHeadCell: React.ComponentClass<Omit<WithDimensionsProps & TableHeadCellProps, 'innerRef' | 'refWidth' | 'refHeight'>, import('../../hoc/with-dimensions').State>;
5
5
  export default RankableTableHeadCell;
@@ -13,6 +13,6 @@ export interface WithSortedPageRowsProps {
13
13
  pageRows: Array<RowType>;
14
14
  isTotalPagesControlledExternally?: boolean;
15
15
  }
16
- export default function withSortedPageRows<WrappedComponentProps extends WithSortedPageRowsProps & TableProps, RefType = HTMLTableSectionElement>(WrappedComponent: React.ComponentType<WrappedComponentProps>): React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<WrappedComponentProps & TableProps, "pageRows"> & {
16
+ export default function withSortedPageRows<WrappedComponentProps extends WithSortedPageRowsProps & TableProps, RefType = HTMLTableSectionElement>(WrappedComponent: React.ComponentType<WrappedComponentProps>): React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<WrappedComponentProps & TableProps, 'pageRows'> & {
17
17
  forwardedRef?: React.Ref<RefType>;
18
18
  }> & React.RefAttributes<RefType>>;
@@ -9,5 +9,5 @@ export interface TruncateStyleProps {
9
9
  className?: string;
10
10
  }
11
11
  export declare const getTruncationStyleVars: ({ width }: TruncateStyleProps) => {
12
- "--local-dynamic-table-width": string;
12
+ '--local-dynamic-table-width': string;
13
13
  } | undefined;
@@ -9,7 +9,7 @@ type TableProps = HTMLProps<HTMLTableElement> & {
9
9
  hasDataRow: boolean;
10
10
  testId?: string;
11
11
  };
12
- export declare const Table: import("react").ForwardRefExoticComponent<Omit<TableProps, "ref"> & import("react").RefAttributes<HTMLTableElement>>;
12
+ export declare const Table: import('react').ForwardRefExoticComponent<Omit<TableProps, 'ref'> & import('react').RefAttributes<HTMLTableElement>>;
13
13
  export declare const Caption: FC<{
14
14
  children: ReactNode;
15
15
  }>;
@@ -4,8 +4,8 @@
4
4
  */
5
5
  import { type HTMLAttributes } from 'react';
6
6
  import { type ITableRowProps } from '../table-row';
7
- export declare const RankableTableBodyRow: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableRowElement> & ITableRowProps & {
7
+ export declare const RankableTableBodyRow: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLTableRowElement> & ITableRowProps & {
8
8
  isRanking?: boolean;
9
9
  isRankingItem?: boolean;
10
10
  testId?: string;
11
- } & import("react").RefAttributes<HTMLTableRowElement>>;
11
+ } & import('react').RefAttributes<HTMLTableRowElement>>;
@@ -17,5 +17,5 @@ type HeadCellProps = TruncateStyleProps & HTMLProps<HTMLTableCellElement> & {
17
17
  sortOrder?: SortOrderType;
18
18
  testId?: string;
19
19
  };
20
- export declare const HeadCell: import("react").ForwardRefExoticComponent<Omit<HeadCellProps, "ref"> & import("react").RefAttributes<HTMLTableCellElement>>;
20
+ export declare const HeadCell: import('react').ForwardRefExoticComponent<Omit<HeadCellProps, 'ref'> & import('react').RefAttributes<HTMLTableCellElement>>;
21
21
  export {};
@@ -8,7 +8,7 @@ interface BodyProps extends WithSortedPageRowsProps {
8
8
  forwardedRef?: React.Ref<HTMLTableSectionElement>;
9
9
  testId?: string;
10
10
  }
11
- declare const Body: React.ForwardRefExoticComponent<Omit<BodyProps & import("../hoc/with-sorted-page-rows").TableProps, "pageRows"> & {
11
+ declare const Body: React.ForwardRefExoticComponent<Omit<BodyProps & import('../hoc/with-sorted-page-rows').TableProps, 'pageRows'> & {
12
12
  forwardedRef?: React.Ref<HTMLTableSectionElement> | undefined;
13
13
  } & React.RefAttributes<HTMLTableSectionElement>>;
14
14
  export default Body;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { type WithDimensionsProps } from '../../hoc/with-dimensions';
3
3
  import { type TableHeadCellProps } from '../table-head-cell';
4
- declare const RankableTableHeadCell: React.ComponentClass<Omit<WithDimensionsProps & TableHeadCellProps, "innerRef" | "refWidth" | "refHeight">, import("../../hoc/with-dimensions").State>;
4
+ declare const RankableTableHeadCell: React.ComponentClass<Omit<WithDimensionsProps & TableHeadCellProps, 'innerRef' | 'refWidth' | 'refHeight'>, import('../../hoc/with-dimensions').State>;
5
5
  export default RankableTableHeadCell;
@@ -13,6 +13,6 @@ export interface WithSortedPageRowsProps {
13
13
  pageRows: Array<RowType>;
14
14
  isTotalPagesControlledExternally?: boolean;
15
15
  }
16
- export default function withSortedPageRows<WrappedComponentProps extends WithSortedPageRowsProps & TableProps, RefType = HTMLTableSectionElement>(WrappedComponent: React.ComponentType<WrappedComponentProps>): React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<WrappedComponentProps & TableProps, "pageRows"> & {
16
+ export default function withSortedPageRows<WrappedComponentProps extends WithSortedPageRowsProps & TableProps, RefType = HTMLTableSectionElement>(WrappedComponent: React.ComponentType<WrappedComponentProps>): React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<WrappedComponentProps & TableProps, 'pageRows'> & {
17
17
  forwardedRef?: React.Ref<RefType>;
18
18
  }> & React.RefAttributes<RefType>>;
@@ -9,5 +9,5 @@ export interface TruncateStyleProps {
9
9
  className?: string;
10
10
  }
11
11
  export declare const getTruncationStyleVars: ({ width }: TruncateStyleProps) => {
12
- "--local-dynamic-table-width": string;
12
+ '--local-dynamic-table-width': string;
13
13
  } | undefined;
@@ -9,7 +9,7 @@ type TableProps = HTMLProps<HTMLTableElement> & {
9
9
  hasDataRow: boolean;
10
10
  testId?: string;
11
11
  };
12
- export declare const Table: import("react").ForwardRefExoticComponent<Omit<TableProps, "ref"> & import("react").RefAttributes<HTMLTableElement>>;
12
+ export declare const Table: import('react').ForwardRefExoticComponent<Omit<TableProps, 'ref'> & import('react').RefAttributes<HTMLTableElement>>;
13
13
  export declare const Caption: FC<{
14
14
  children: ReactNode;
15
15
  }>;
@@ -4,8 +4,8 @@
4
4
  */
5
5
  import { type HTMLAttributes } from 'react';
6
6
  import { type ITableRowProps } from '../table-row';
7
- export declare const RankableTableBodyRow: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableRowElement> & ITableRowProps & {
7
+ export declare const RankableTableBodyRow: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLTableRowElement> & ITableRowProps & {
8
8
  isRanking?: boolean;
9
9
  isRankingItem?: boolean;
10
10
  testId?: string;
11
- } & import("react").RefAttributes<HTMLTableRowElement>>;
11
+ } & import('react').RefAttributes<HTMLTableRowElement>>;
@@ -17,5 +17,5 @@ type HeadCellProps = TruncateStyleProps & HTMLProps<HTMLTableCellElement> & {
17
17
  sortOrder?: SortOrderType;
18
18
  testId?: string;
19
19
  };
20
- export declare const HeadCell: import("react").ForwardRefExoticComponent<Omit<HeadCellProps, "ref"> & import("react").RefAttributes<HTMLTableCellElement>>;
20
+ export declare const HeadCell: import('react').ForwardRefExoticComponent<Omit<HeadCellProps, 'ref'> & import('react').RefAttributes<HTMLTableCellElement>>;
21
21
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/dynamic-table",
3
- "version": "18.3.17",
3
+ "version": "18.3.19",
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/"
@@ -36,7 +36,7 @@
36
36
  "@atlaskit/analytics-next": "^11.1.0",
37
37
  "@atlaskit/css": "^0.19.0",
38
38
  "@atlaskit/ds-lib": "^5.3.0",
39
- "@atlaskit/icon": "^31.0.0",
39
+ "@atlaskit/icon": "^32.0.0",
40
40
  "@atlaskit/pagination": "^16.2.0",
41
41
  "@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration": "^2.0.0",
42
42
  "@atlaskit/primitives": "^18.0.0",
@@ -54,10 +54,10 @@
54
54
  "@af/accessibility-testing": "workspace:^",
55
55
  "@af/integration-testing": "workspace:^",
56
56
  "@af/visual-regression": "workspace:^",
57
- "@atlaskit/avatar": "^25.7.0",
57
+ "@atlaskit/avatar": "^25.8.0",
58
58
  "@atlaskit/banner": "^14.0.0",
59
59
  "@atlaskit/button": "^23.9.0",
60
- "@atlaskit/docs": "^11.3.0",
60
+ "@atlaskit/docs": "^11.4.0",
61
61
  "@atlaskit/drawer": "^11.0.0",
62
62
  "@atlaskit/dropdown-menu": "^16.4.0",
63
63
  "@atlaskit/link": "^3.3.0",