@atlaskit/table 0.14.1 → 0.14.3

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.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 0.14.2
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 0.14.1
4
16
 
5
17
  ### Patch Changes
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
- var _primitives = require("@atlaskit/primitives");
9
+ var _compiled = require("@atlaskit/primitives/compiled");
10
10
  var _th = require("./ui/th");
11
11
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
12
12
 
@@ -27,7 +27,7 @@ var HeadCell = function HeadCell(_ref) {
27
27
  align: align,
28
28
  testId: testId,
29
29
  backgroundColor: backgroundColor
30
- }, children && /*#__PURE__*/_react.default.createElement(_primitives.Text, {
30
+ }, children && /*#__PURE__*/_react.default.createElement(_compiled.Text, {
31
31
  weight: "medium"
32
32
  }, children));
33
33
  };
@@ -1,4 +1,4 @@
1
- /* sortable-column.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* sortable-column.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* tbody.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* tbody.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -1,4 +1,4 @@
1
- /* thead.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* thead.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
package/dist/cjs/ui/tr.js CHANGED
@@ -1,4 +1,4 @@
1
- /* tr.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* tr.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
 
3
3
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
4
- import { Text } from '@atlaskit/primitives';
4
+ import { Text } from '@atlaskit/primitives/compiled';
5
5
  import { TH } from './ui/th';
6
6
 
7
7
  /**
@@ -1,4 +1,4 @@
1
- /* sortable-column.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* sortable-column.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./sortable-column.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* tbody.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* tbody.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import "./tbody.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* thead.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* thead.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import "./thead.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* tr.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* tr.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import "./tr.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
 
3
3
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
4
- import { Text } from '@atlaskit/primitives';
4
+ import { Text } from '@atlaskit/primitives/compiled';
5
5
  import { TH } from './ui/th';
6
6
 
7
7
  /**
@@ -1,4 +1,4 @@
1
- /* sortable-column.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* sortable-column.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
4
  var _excluded = ["name", "testId", "onClick", "children"];
@@ -1,4 +1,4 @@
1
- /* tbody.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* tbody.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import "./tbody.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* thead.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* thead.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import "./thead.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
package/dist/esm/ui/tr.js CHANGED
@@ -1,4 +1,4 @@
1
- /* tr.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* tr.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import "./tr.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -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.1",
3
+ "version": "0.14.3",
4
4
  "description": "A table is used to display data.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -37,17 +37,17 @@
37
37
  ],
38
38
  "atlaskit:src": "src/index.tsx",
39
39
  "dependencies": {
40
- "@atlaskit/button": "^23.9.0",
40
+ "@atlaskit/button": "^23.10.0",
41
41
  "@atlaskit/checkbox": "^17.3.0",
42
42
  "@atlaskit/css": "^0.19.0",
43
- "@atlaskit/ds-lib": "^5.3.0",
44
- "@atlaskit/icon": "^31.0.0",
43
+ "@atlaskit/ds-lib": "^6.0.0",
44
+ "@atlaskit/icon": "^32.0.0",
45
45
  "@atlaskit/primitives": "^18.0.0",
46
- "@atlaskit/tokens": "^11.0.0",
46
+ "@atlaskit/tokens": "^11.1.0",
47
47
  "@atlaskit/tooltip": "^20.14.0",
48
48
  "@atlaskit/visually-hidden": "^3.0.0",
49
49
  "@babel/runtime": "^7.0.0",
50
- "@compiled/react": "^0.18.6",
50
+ "@compiled/react": "^0.20.0",
51
51
  "tiny-invariant": "^1.2.0"
52
52
  },
53
53
  "peerDependencies": {
@@ -56,11 +56,11 @@
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.6.0",
62
62
  "@atlaskit/dynamic-table": "^18.3.0",
63
- "@atlaskit/lozenge": "^13.4.0",
63
+ "@atlaskit/lozenge": "^13.5.0",
64
64
  "@atlaskit/section-message": "^8.12.0",
65
65
  "@atlassian/ssr-tests": "workspace:^",
66
66
  "@testing-library/react": "^16.3.0",