@atlaskit/table 0.14.0 → 0.14.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,17 @@
1
1
  # @atlaskit/table
2
2
 
3
+ ## 0.14.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 0.14.1
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 0.14.0
4
16
 
5
17
  ### Minor Changes
@@ -2,10 +2,11 @@ import React, { type FC, type ReactNode } from 'react';
2
2
  import { type SelectableActions, type SelectableState } from './use-selectable';
3
3
  type SelectionContext = [
4
4
  SelectableState,
5
+ (
5
6
  /**
6
7
  * Context actions will be undefined without a `SelectionProvider` mounted.
7
8
  */
8
- SelectableActions | Partial<SelectableActions>
9
+ SelectableActions | Partial<SelectableActions>)
9
10
  ];
10
11
  declare const SelectionContext: React.Context<SelectionContext>;
11
12
  /**
@@ -6,4 +6,4 @@ export declare const useRowId: () => number | undefined;
6
6
  * __Row provider__
7
7
  * @internal
8
8
  */
9
- export declare const RowProvider: import("react").Provider<number | undefined>;
9
+ export declare const RowProvider: import('react').Provider<number | undefined>;
@@ -1,6 +1,6 @@
1
1
  import { type SortDirection, type SortKey } from './use-table';
2
2
  export declare const useSorting: <ItemType extends object>(sortKey: SortKey<keyof ItemType>) => {
3
- sortKey: "unset" | keyof ItemType;
3
+ sortKey: 'unset' | keyof ItemType;
4
4
  sortDirection: SortDirection | undefined;
5
5
  setSortState: (key: SortKey<keyof ItemType>) => void;
6
6
  sortFn: (rowA: ItemType, rowB: ItemType) => number;
@@ -2,5 +2,5 @@
2
2
  * __Table body provider__
3
3
  * Ensures correct nesting of table elements.
4
4
  */
5
- export declare const TableBodyProvider: import("react").Provider<boolean>;
5
+ export declare const TableBodyProvider: import('react').Provider<boolean>;
6
6
  export declare const useTableBody: () => void;
@@ -2,10 +2,11 @@ import React, { type FC, type ReactNode } from 'react';
2
2
  import { type SelectableActions, type SelectableState } from './use-selectable';
3
3
  type SelectionContext = [
4
4
  SelectableState,
5
+ (
5
6
  /**
6
7
  * Context actions will be undefined without a `SelectionProvider` mounted.
7
8
  */
8
- SelectableActions | Partial<SelectableActions>
9
+ SelectableActions | Partial<SelectableActions>)
9
10
  ];
10
11
  declare const SelectionContext: React.Context<SelectionContext>;
11
12
  /**
@@ -6,4 +6,4 @@ export declare const useRowId: () => number | undefined;
6
6
  * __Row provider__
7
7
  * @internal
8
8
  */
9
- export declare const RowProvider: import("react").Provider<number | undefined>;
9
+ export declare const RowProvider: import('react').Provider<number | undefined>;
@@ -1,6 +1,6 @@
1
1
  import { type SortDirection, type SortKey } from './use-table';
2
2
  export declare const useSorting: <ItemType extends object>(sortKey: SortKey<keyof ItemType>) => {
3
- sortKey: "unset" | keyof ItemType;
3
+ sortKey: 'unset' | keyof ItemType;
4
4
  sortDirection: SortDirection | undefined;
5
5
  setSortState: (key: SortKey<keyof ItemType>) => void;
6
6
  sortFn: (rowA: ItemType, rowB: ItemType) => number;
@@ -2,5 +2,5 @@
2
2
  * __Table body provider__
3
3
  * Ensures correct nesting of table elements.
4
4
  */
5
- export declare const TableBodyProvider: import("react").Provider<boolean>;
5
+ export declare const TableBodyProvider: import('react').Provider<boolean>;
6
6
  export declare const useTableBody: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/table",
3
- "version": "0.14.0",
3
+ "version": "0.14.2",
4
4
  "description": "A table is used to display data.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -41,7 +41,7 @@
41
41
  "@atlaskit/checkbox": "^17.3.0",
42
42
  "@atlaskit/css": "^0.19.0",
43
43
  "@atlaskit/ds-lib": "^5.3.0",
44
- "@atlaskit/icon": "^30.0.0",
44
+ "@atlaskit/icon": "^32.0.0",
45
45
  "@atlaskit/primitives": "^18.0.0",
46
46
  "@atlaskit/tokens": "^11.0.0",
47
47
  "@atlaskit/tooltip": "^20.14.0",
@@ -56,9 +56,9 @@
56
56
  "devDependencies": {
57
57
  "@af/accessibility-testing": "workspace:^",
58
58
  "@af/integration-testing": "workspace:^",
59
- "@atlaskit/avatar": "^25.7.0",
59
+ "@atlaskit/avatar": "^25.8.0",
60
60
  "@atlaskit/date": "^2.0.0",
61
- "@atlaskit/docs": "^11.3.0",
61
+ "@atlaskit/docs": "^11.4.0",
62
62
  "@atlaskit/dynamic-table": "^18.3.0",
63
63
  "@atlaskit/lozenge": "^13.4.0",
64
64
  "@atlaskit/section-message": "^8.12.0",